Commit 022275a6 authored by “yiyousong”'s avatar “yiyousong”

perf: 优化分配资源的重置

parent 6e324189
...@@ -168,6 +168,11 @@ export default { ...@@ -168,6 +168,11 @@ export default {
}, },
resetForm() { resetForm() {
this.form.resourceIdList = [];
Object.keys(this.resourceList).forEach((key) => {
this.resourceList[key].checkAll = false;
this.resourceList[key].indeterminate = false;
});
// 重置还原表单信息内容 // 重置还原表单信息内容
// this.$refs.form.resetFields(); // this.$refs.form.resetFields();
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment