|
|
|
@ -234,7 +234,7 @@ export default {
|
|
|
|
|
this.defaultExpandedKeys =
|
|
|
|
|
JSON.parse(localStorage.getItem("defaultKey")) !== null
|
|
|
|
|
? JSON.parse(localStorage.getItem("defaultKey"))
|
|
|
|
|
: []; //获取保存的defaultKey ;
|
|
|
|
|
: this.defaultExpandedKeys; //获取保存的defaultKey ;
|
|
|
|
|
|
|
|
|
|
console.log(this.defaultExpandedKeys);
|
|
|
|
|
if (this.lineTreeData[0].list[0].list.length > 0) {
|
|
|
|
@ -277,7 +277,7 @@ export default {
|
|
|
|
|
this.defaultExpandedKeys =
|
|
|
|
|
JSON.parse(localStorage.getItem("defaultKey")) !== null
|
|
|
|
|
? JSON.parse(localStorage.getItem("defaultKey"))
|
|
|
|
|
: []; //获取保存的defaultKey ;
|
|
|
|
|
: this.defaultExpandedKeys; //获取保存的defaultKey ;
|
|
|
|
|
|
|
|
|
|
console.log(this.defaultExpandedKeys);
|
|
|
|
|
if (this.lineTreeData[0].list[0].list.length > 0) {
|
|
|
|
|