@@ -101,7 +101,9 @@ export default {
resetForm(formName) {
this.$refs[formName].resetFields()
// 清空选中的树节点
- this.ruleForm.menuArray = []
+ this.$refs.tree.setCheckedKeys([]);
+ this.ruleForm.roleName = ''
+ this.ruleForm.description = ''
},
handleCheckChange(data, checked, indeterminate) { // 树形图选择事件
console.log(data, checked, indeterminate)