|
@@ -171,10 +171,10 @@ export default {
|
|
|
},
|
|
|
setThisExpandedKeys(node) {
|
|
|
if (node.checked == true) {
|
|
|
- this.checkedKeys.push(Number(node.key))
|
|
|
+ this.checkedKeys.push(node.key)
|
|
|
}
|
|
|
if (node.children && node.children.length > 0) {
|
|
|
- this.iExpandedKeys.push(Number(node.key))
|
|
|
+ this.iExpandedKeys.push(node.key)
|
|
|
for (let a = 0; a < node.children.length; a++) {
|
|
|
this.setThisExpandedKeys(node.children[a])
|
|
|
}
|
|
@@ -182,7 +182,7 @@ export default {
|
|
|
},
|
|
|
getAllKeys(node) {
|
|
|
// console.log('node',node);
|
|
|
- this.allTreeKeys.push(Number(node.key))
|
|
|
+ this.allTreeKeys.push(node.key)
|
|
|
if (node.children && node.children.length > 0) {
|
|
|
for (let a = 0; a < node.children.length; a++) {
|
|
|
this.getAllKeys(node.children[a])
|