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,