n20-common-lib 2.1.7 → 2.1.9

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": "n20-common-lib",
3
- "version": "2.1.7",
3
+ "version": "2.1.9",
4
4
  "private": false,
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -199,7 +199,7 @@ export default {
199
199
  },
200
200
  {
201
201
  NO: 'JRWG',
202
- NAME: '金融网管系统',
202
+ NAME: '金融网关系统',
203
203
  ICON: '',
204
204
  LOGIN_MODE: [],
205
205
  OPEN: false
@@ -238,7 +238,7 @@ export default {
238
238
  },
239
239
  {
240
240
  NO: 'JRWG',
241
- NAME: '金融网管系统',
241
+ NAME: '金融网关系统',
242
242
  ICON: undefined,
243
243
  LOGIN_MODE: [],
244
244
  OPEN: false
@@ -4,7 +4,8 @@ import list2tree from '../../utils/list2tree'
4
4
  export function siteTree2menus(siteTree) {
5
5
  let list_1 = []
6
6
 
7
- forEachs(siteTree, (item) => {
7
+ forEachs(siteTree, (item, i) => {
8
+ item.sortnum = i + 1
8
9
  if (item.resType === '1' || item.resType === '2') {
9
10
  list_1.push(item)
10
11
  }