Commit 9a9d040a authored by whlviolin's avatar whlviolin

清空时去掉checkbox勾选

parent 28d03f86
......@@ -346,6 +346,17 @@ import {getyear, getAddress, detDataTitle, getIndustry, getCondition, getTree, s
industry: []
}
this.$refs.tree.setCheckedKeys([])
this.clearCheckedBox(this.industry);
this.clearCheckedBox(this.address);
this.clearCheckedBox(this.times);
},
clearCheckedBox(dataList){
for(let item in dataList) {
let obj =dataList[item]
obj["checked"] = false;
dataList.push(obj);
}
return dataList;
},
toShowData() {
this.$nextTick(() => {
......
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