From 73ffb17ff037c441310198409230fd30ed39d443 Mon Sep 17 00:00:00 2001 From: chenshihai Date: Tue, 15 Nov 2022 14:50:32 +0800 Subject: [PATCH] update --- .../pages/modelmanage/local/modelmanage-local-create-1.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_src/vuepages/pages/modelmanage/local/modelmanage-local-create-1.vue b/web_src/vuepages/pages/modelmanage/local/modelmanage-local-create-1.vue index a3d7e5785..fefcf4114 100644 --- a/web_src/vuepages/pages/modelmanage/local/modelmanage-local-create-1.vue +++ b/web_src/vuepages/pages/modelmanage/local/modelmanage-local-create-1.vue @@ -169,7 +169,7 @@ export default { list.pop(); list.push('create_local_model_2'); window.location.href = list.join('/') + '?type=0&name=' + encodeURIComponent(this.state.name) + '&id=' + res.id; - } if (res && res.code == '-1') { + } else if (res && res.code == '-1') { this.$message({ type: 'error', message: res.msg,