wujingjing
2025-04-01 d5ef0fe419c0b3a83c3c73a63fb54353572a8103
src/api/menu/menuData.ts
@@ -16,6 +16,86 @@
      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 +116,7 @@
      ID: '1806237582070255616',
      ParentID: '0',
      Type: 2,
      Name: '聊天室',
      Name: '',
      Path: '/ask_answer',
      Permission: '',
      Icon: '',
@@ -96,44 +176,3 @@
      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));