<el-tree ref="tree" :data="prodList" show-checkbox node-key="label" :check-strictly="true" @check="onTreeCheck"> </el-tree>
onTreeCheck(node, tree) {
if (tree.checkedKeys.length == 0) {
this.$refs.tree.setCheckedKeys([])
} else {
this.$refs.tree.setCheckedKeys([])
this.$refs.tree.setCheckedKeys([node.label])
}
},