Explorar el Código

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

zhuhao hace 2 años
padre
commit
154bb920da
Se han modificado 1 ficheros con 3 adiciones y 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 = []