element ui中多個el-switch組件在同一個表單中,需要將el-switch的屬性v-model綁定在同一對象下的字段
不能有前后賦值的情況出現,不然會互相干擾!
res.data.userInfo.base_rule=res.data.base_rule that.dialog_table_data = res.data.userInfo // that.dialog_table_data.base_rule = res.data.base_rule
只能在前面進行調整后一起賦值才不會出問題