删除无用代码

This commit is contained in:
hanhh
2021-06-20 20:33:18 +08:00
parent d630f34505
commit 3052b48f51
10 changed files with 29 additions and 23 deletions
-1
View File
@@ -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');
-2
View File
@@ -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: {