|
|
@@ -235,13 +235,13 @@ export default {
|
|
|
|
|
|
handleNodeClick() {
|
|
|
},
|
|
|
- onCheck(data, checked, tree) {
|
|
|
- console.log(1111123213123)
|
|
|
+ onCheck(data, checked) {
|
|
|
+ console.log(data, checked,1111123213123)
|
|
|
if (this.checked) {
|
|
|
let checkNodes = this.$refs.tree.getCheckedNodes();
|
|
|
let type = this.queryForm.type;
|
|
|
let recursionFn = function (tree) {
|
|
|
- console.log(tree,'TREE')
|
|
|
+ if(!tree || !tree.length ) return;
|
|
|
tree.forEach((item) => {
|
|
|
if (type == item.type) {
|
|
|
checkNodes.push(item);
|