mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-17 17:54:32 +08:00
删除无用代码
This commit is contained in:
@@ -26,7 +26,6 @@ export function render(oldRender: any) {
|
||||
oldRender();
|
||||
})
|
||||
.catch((e) => {
|
||||
console.log(e);
|
||||
if (e.response && e.response.status === 401) {
|
||||
localStorage.removeItem(config.authKey);
|
||||
history.push('/login');
|
||||
|
||||
Vendored
-2
@@ -16,8 +16,6 @@ const EditNameModal = ({
|
||||
const [loading, setLoading] = useState(false);
|
||||
|
||||
const handleOk = async (values: any) => {
|
||||
console.log(values);
|
||||
console.log(ids);
|
||||
setLoading(true);
|
||||
const { code, data } = await request.put(`${config.apiPrefix}envs/name`, {
|
||||
data: {
|
||||
|
||||
Reference in New Issue
Block a user