Commit 5c0367b9 by jack

去掉打印信息

1 parent 665e169c
...@@ -202,13 +202,10 @@ export default { ...@@ -202,13 +202,10 @@ export default {
let id = node.key; let id = node.key;
let _list = this.newArr; let _list = this.newArr;
let _types = { 0: "first_", 1: "second_", 2: "three_", 3: "four_" }; let _types = { 0: "first_", 1: "second_", 2: "three_", 3: "four_" };
console.log(node);
if (node.level == 0) { if (node.level == 0) {
id = 0; id = 0;
} }
console.log(id);
arr = _list.filter((item) => { arr = _list.filter((item) => {
let _pass = item.pid == id && item.level == node.level; let _pass = item.pid == id && item.level == node.level;
return _pass; return _pass;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!