@lambo-design/pro-layout 1.0.0-beta.10 → 1.0.0-beta.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lambo-design/pro-layout",
3
- "version": "1.0.0-beta.10",
3
+ "version": "1.0.0-beta.11",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -105,7 +105,7 @@ export default {
105
105
  this.originMenuList = deepCopy(data);
106
106
  },
107
107
  initTags(data,current){
108
- setTagNavListInLocalstorage(data);
108
+ setTagNavListInLocalstorage(data, config.routerBase + '-tagNavList');
109
109
  this.tagList = data;
110
110
  if (current !== this.value) {
111
111
  this.value = current;
package/src/index.vue CHANGED
@@ -131,7 +131,7 @@ export default {
131
131
  Bus.$emit('menu-list',this.menuList)
132
132
  },
133
133
  initTags(){
134
- let tagList = getTagNavListFromLocalstorage();
134
+ let tagList = getTagNavListFromLocalstorage(config.routerBase + '-tagNavList');
135
135
  if (tagList.length == 0) {
136
136
  tagList.push(this.homeRouter);
137
137
  }
@@ -176,7 +176,7 @@ export default {
176
176
  } else {
177
177
  name = menu.name;
178
178
  menuItem = deepCopy(menu);
179
- let tagList = getTagNavListFromLocalstorage();
179
+ let tagList = getTagNavListFromLocalstorage(config.routerBase + '-tagNavList');
180
180
  if (!tagExists(tagList,name)) {
181
181
  tagList.push(menuItem);
182
182
  }