Browse Source

修复数据源必填验证不正确的BUG

mxd 3 years ago
parent
commit
29106c8002

+ 1 - 1
magic-editor/src/console/src/components/resources/magic-datasource-list.vue

@@ -247,7 +247,7 @@ export default {
       })
     },
     doSave(){
-      if(!this.datasourceObj.username){
+      if(!this.datasourceObj.name){
         this.$magicAlert({
           content : '数据源名称不能为空'
         })