Sfoglia il codice sorgente

租户会员类别管理编辑bug修复

zhuhao 2 anni fa
parent
commit
154bb920da
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      src/views/memberType/index.vue

+ 3 - 1
src/views/memberType/index.vue

@@ -246,7 +246,9 @@ export default {
       // this.isDialogs=true
       this.$refs.ruleForm.validate((valid) => {
         if (valid) {
-          this.ruleForm.functions = this.functions
+          if (this.functions.length>0) {
+            this.ruleForm.functions = this.functions
+          }
           this.btnLoading = true
           if (this.ruleForm.hasOwnProperty('functions')) {
             var functionModifyPaths = []