gerson
2024-07-07 a348478a2f78c6e20a20ae20dbc1243a5311fd54
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
export const menuData = [
    {
        Children: [],
        ID: '1805430930840621056',
        ParentID: '0',
        Type: 2,
        Name: '首页',
        Path: '/home',
        Permission: '',
        Icon: 'ywicon icon-a-appround15',
        IsIframe: false,
        OutLink: '',
        IsHide: false,
        Weight: 0,
        SortCode: 1,
        Description: '',
    },
    {
        Children: [],
        ID: '1806197769124319232',
        ParentID: '0',
        Type: 2,
        Name: '应用场景',
        Path: '/Scenario',
        Permission: '',
        Icon: '',
        IsIframe: false,
        OutLink: '',
        IsHide: true,
        Weight: 0,
        SortCode: 2,
        Description: '',
    },
    {
        Children: [],
        ID: '1806237582070255616',
        ParentID: '0',
        Type: 2,
        Name: '聊天室',
        Path: '/ask_answer',
        Permission: '',
        Icon: '',
        IsIframe: false,
        OutLink: '',
        IsHide: false,
        Weight: 0,
        SortCode: 3,
        Description: '',
    },
    {
        Children: [],
        ID: '1806255161283317760',
        ParentID: '0',
        Type: 2,
        Name: '关于我们',
        Path: '/AboutUs',
        Permission: '',
        Icon: '',
        IsIframe: false,
        OutLink: '',
        IsHide: true,
        Weight: 0,
        SortCode: 4,
        Description: '',
    },
    {
        Children: [],
        ID: '1806591091814830080',
        ParentID: '0',
        Type: 2,
        Name: '应用场景详情',
        Path: '/usage_scenario/detail',
        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));