module-menu-vue 0.0.63 → 0.0.64

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": "module-menu-vue",
3
- "version": "0.0.63",
3
+ "version": "0.0.64",
4
4
  "description": "城市大数据平台菜单--Vue版",
5
5
  "main": "/index.js",
6
6
  "scripts": {
@@ -104,7 +104,7 @@ export default {
104
104
  let appSysMenuList = []
105
105
  let appSysNameList = []
106
106
  item.routes.forEach(obj => {
107
- appSysMenuList.push(obj.path.indexOf('/') === -1 ? '/' + obj.path : obj.path)
107
+ appSysMenuList.push('/' + obj.path)
108
108
  appSysNameList.push(obj.name)
109
109
  }) || []
110
110
  localStorage.setItem('appSysMenuList', JSON.stringify(appSysMenuList))