|
@@ -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 = []
|