Explorar o código

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

zhuhao %!s(int64=2) %!d(string=hai) anos
pai
achega
154bb920da
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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 = []