module-menu-vue 0.0.60 → 0.0.61

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.60",
3
+ "version": "0.0.61",
4
4
  "description": "城市大数据平台菜单--Vue版",
5
5
  "main": "/index.js",
6
6
  "scripts": {
@@ -100,6 +100,9 @@ export default {
100
100
  const routesList = rspData[0].routes
101
101
  if (rsp.data.data) {
102
102
  const pathList = routesList.map(item => {
103
+ if (item.path.indexOf('appSystem') !== -1) {
104
+ localStorage.setItem('isShowApp', true)
105
+ }
103
106
  return {
104
107
  ...item,
105
108
  path: item.path.indexOf('/') === -1 ? '/' + item.path : item.path
@@ -50,7 +50,8 @@ export default {
50
50
  return this.stash === "integration" ? true : this.sysName !== 'admin' && this.isHaveSystemManagementPermission
51
51
  },
52
52
  isShowApp() {
53
- return this.stash === 'integration' ? true : false
53
+ const flag = localStorage.getItem('isShowApp') === 'true'
54
+ return this.stash === 'integration' ? flag : false
54
55
  },
55
56
  },
56
57
  props: {
@@ -1,7 +1,7 @@
1
1
  import axios from 'axios';
2
2
  import getStore from './userInfo';
3
3
  import { checkToken } from './permessionUtils';
4
- let tokenValue = 'c184d664eaff40928b80b70f67600780';
4
+ let tokenValue = 'be1f9416ecb34c8492944618834514c2';
5
5
  axios.interceptors.response.use(
6
6
  (response) => {
7
7
  if (response.status === 200) {