wujingjing
2025-04-09 2b8b2cac4fe3f05474459a034bc4034f2d7aa0cb
src/api/menu/menuData.ts
@@ -16,6 +16,87 @@
      Description: '',
   },
   {
      Children: [
         {
            ID: '1805430930840621056',
            ParentID: '0',
            Type: 2,
            Name: '概况',
            Path: '/workspace/situation',
            Permission: '',
            Icon: 'ywicon icon-a-appround15',
            IsIframe: false,
            OutLink: '',
            IsHide: false,
            Weight: 0,
            SortCode: 1,
            Description: '',
         },
      ],
      ID: '1805430930840621056',
      ParentID: '0',
      Type: 1,
      Name: '个人工作台',
      Path: '/workspace',
      Permission: '',
      Icon: 'ywicon icon-a-appround15',
      IsIframe: false,
      OutLink: '',
      IsHide: false,
      Weight: 0,
      SortCode: 1,
      Description: '',
   },
   {
      Children: [
         {
            ID: '1805430930840621056',
            ParentID: '0',
            Type: 2,
            Name: '概况',
            Path: '/gis/situation',
            Permission: '',
            Icon: 'ywicon icon-a-appround15',
            IsIframe: false,
            OutLink: '',
            IsHide: false,
            Weight: 0,
            SortCode: 1,
            Description: '',
         },
      ],
      ID: '1805430930840621056',
      ParentID: '0',
      Type: 1,
      Name: 'GIS系统',
      Path: '/gis',
      Permission: '',
      Icon: 'ywicon icon-a-appround15',
      IsIframe: false,
      OutLink: '',
      IsHide: false,
      Weight: 0,
      SortCode: 1,
      Description: '',
   },
   {
      Children: [],
      ID: '1805430930840621056',
      ParentID: '0',
      Type: 2,
      Name: '分享页',
      Path: '/share',
      Permission: '',
      Icon: 'ywicon icon-a-appround15',
      IsIframe: false,
      OutLink: '',
      IsHide: false,
      Weight: 0,
      SortCode: 1,
      Description: '',
   },
   {
      Children: [],
      ID: '1806197769124319232',
      ParentID: '0',
@@ -36,7 +117,7 @@
      ID: '1806237582070255616',
      ParentID: '0',
      Type: 2,
      Name: '聊天室',
      Name: '',
      Path: '/ask_answer',
      Permission: '',
      Icon: '',
@@ -79,46 +160,20 @@
      SortCode: 5,
      Description: '',
   },
   {
      Children: [],
      ID: '1',
      ParentID: '0',
      Type: 2,
      Name: '应用场景',
      Path: '/AllScenario',
      Permission: '',
      Icon: '',
      IsIframe: false,
      OutLink: '',
      IsHide: true,
      Weight: 0,
      SortCode: 5,
      Description: '',
   },
];
const c = [
   {
     "group_id": "d0b8cdd94b07407190a594eb35297055",
     "group_title": "chat room",
     "chat_count": "2",
     "create_time": "2024-07-06 19:54:10"
   },
   {
     "group_id": "a2daa57b53b44a089fed94cc876673d9",
     "group_title": "chat room",
     "chat_count": "0",
     "create_time": "2024-07-06 22:50:30"
   },
   {
     "group_id": "89b89d6920a640a9a7179909644beca8",
     "group_title": "chat room",
     "chat_count": "0",
     "create_time": "2024-07-06 22:50:59"
   },
   {
     "group_id": "bf3e1aa15c22414faab077cffd694cf1",
     "group_title": "chat room",
     "chat_count": "0",
     "create_time": "2024-07-06 22:51:19"
   },
   {
     "group_id": "7d95ede8afab4366aaa88171d974ca4e",
     "group_title": "chat room",
     "chat_count": "0",
     "create_time": "2024-07-06 22:51:24"
   },
   {
     "group_id": "f1603a395feb4fbfa52304274034346d",
     "group_title": "chat room",
     "chat_count": "0",
     "create_time": "2024-07-06 22:51:42"
   }
  ]
c.sort((a,b)=>a.create_time.localeCompare(b.create_time));