@titaui/pc 1.12.9-beta.3 → 1.12.9-beta.4

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.
@@ -89,3 +89,16 @@
89
89
  line-height: 26px;
90
90
  font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
91
91
  }
92
+
93
+ .app-center__drawer {
94
+ transform: translateY(54px);
95
+ }
96
+
97
+ .app-center__drawer .drawer-content-wrapper,
98
+ .app-center__drawer .drawer-content {
99
+ border-radius: 24px;
100
+ }
101
+
102
+ .app-center__drawer .drawer-mask {
103
+ border-radius: 24px 24px 0 0;
104
+ }
@@ -43,7 +43,7 @@ var AppCenter = function AppCenter(props) {
43
43
  var _useState = (0, _react.useState)(function () {
44
44
  var menus = (0, _utils.getMenus)();
45
45
  return menus.filter(function (menu) {
46
- return menu.key !== "dynamic";
46
+ return menu.code !== "dynamic";
47
47
  });
48
48
  }),
49
49
  _useState2 = _slicedToArray(_useState, 1),
@@ -92,6 +92,16 @@ var AppCenter = function AppCenter(props) {
92
92
 
93
93
  closeAppCenter();
94
94
  }, [currentAppId]);
95
+
96
+ var onAppSelectHandler = function onAppSelectHandler(app) {
97
+ if (app.type === "page") {
98
+ window.location.href = "".concat(window.BSGlobal.apiPath, "/").concat(app.href);
99
+ return;
100
+ }
101
+
102
+ setCurrentAppId(app.id);
103
+ };
104
+
95
105
  return /*#__PURE__*/_react["default"].createElement(_drawer["default"], {
96
106
  className: "".concat(precls, "__drawer"),
97
107
  placement: "top",
@@ -109,7 +119,7 @@ var AppCenter = function AppCenter(props) {
109
119
  return /*#__PURE__*/_react["default"].createElement("div", {
110
120
  className: "".concat(precls, "__app-item"),
111
121
  onClick: function onClick() {
112
- return setCurrentAppId(app.id);
122
+ return onAppSelectHandler(app);
113
123
  }
114
124
  }, /*#__PURE__*/_react["default"].createElement("span", {
115
125
  className: (0, _classnames["default"])("".concat(precls, "__app-item-icon"), "".concat(precls, "__app-item-icon--").concat(app.iconName))
@@ -14,11 +14,10 @@
14
14
  display: inline-flex;
15
15
  justify-content: space-between;
16
16
  align-items: center;
17
- min-width: 204px;
18
17
  height: 54px;
19
18
  border-radius: 0px 0px 0px 24px;
20
19
  box-sizing: border-box;
21
- padding-left: 20px;
20
+ padding: 0 20px;
22
21
  cursor: default;
23
22
  }
24
23
 
@@ -54,7 +53,6 @@
54
53
  font-size: 24px;
55
54
  color: #ffffff;
56
55
  padding: 2px;
57
- margin-right: 14px;
58
56
  border-radius: 8px;
59
57
  cursor: pointer;
60
58
  }
@@ -65,6 +63,8 @@
65
63
 
66
64
  .titaui-nav-top__left-dynamic {
67
65
  position: relative;
66
+ margin-right: -6px;
67
+ margin-left: 20px;
68
68
  }
69
69
 
70
70
  .titaui-nav-top__left-dynamic-feed-num {
@@ -85,6 +85,10 @@
85
85
  font-weight: 400;
86
86
  }
87
87
 
88
+ .titaui-nav-top__left-app-center {
89
+ margin-right: 12px;
90
+ }
91
+
88
92
  .titaui-nav-top__line {
89
93
  width: 1px;
90
94
  min-width: 1px;
@@ -13,459 +13,467 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
13
13
 
14
14
  var getMenus = function getMenus() {
15
15
  // @ts-ignore
16
- // const navs: INavType[] = window.BSGlobal.newNavigation;
17
- // navs.sort((pre, next) => pre.orderId - next.orderId);
18
- // return navs;
19
- var newNavigation = [{
20
- id: 21817,
21
- tenantId: 0,
22
- title: "动态",
23
- href: "#dynamic",
24
- iconName: "",
25
- type: "hash",
26
- orderId: 1,
27
- code: "",
28
- appId: 119,
29
- appCode: null,
30
- status: 0,
31
- color: "#5B99EE",
32
- groupId: 0,
33
- signUrl: null,
34
- domain: "",
35
- labelName: null,
36
- DataSource: null,
37
- defaultExpand: false,
38
- children: [],
39
- menuPoint: null,
40
- key: "dynamic"
41
- }, {
42
- id: 21818,
43
- tenantId: 0,
44
- title: "OKR",
45
- href: "#okr/manage?relation=1",
46
- iconName: "okr",
47
- type: "hash",
48
- orderId: 2,
49
- code: "",
50
- appId: 113,
51
- appCode: null,
52
- status: 0,
53
- color: "#9382FF",
54
- groupId: 0,
55
- signUrl: null,
56
- domain: "",
57
- labelName: null,
58
- DataSource: null,
59
- defaultExpand: false,
60
- children: [{
61
- id: 21001,
62
- tenantId: 0,
63
- title: "OKR",
64
- href: "#okr/manage?relation=1",
65
- iconName: "",
66
- type: "hash",
67
- orderId: 3,
68
- code: "",
69
- appId: 666,
70
- appCode: null,
71
- status: 0,
72
- color: "#ED5858",
73
- groupId: 0,
74
- signUrl: null,
75
- domain: "",
76
- labelName: null,
77
- DataSource: null,
78
- defaultExpand: false,
79
- children: [],
80
- menuPoint: null
81
- }, {
82
- id: 21002,
83
- tenantId: 0,
84
- title: "对齐",
85
- href: "#okr/map",
86
- iconName: "",
87
- type: "hash",
88
- orderId: 3,
89
- code: "",
90
- appId: 666,
91
- appCode: null,
92
- status: 0,
93
- color: "#ED5858",
94
- groupId: 0,
95
- signUrl: null,
96
- domain: "",
97
- labelName: null,
98
- DataSource: null,
99
- defaultExpand: false,
100
- children: [],
101
- menuPoint: null
102
- }, {
103
- id: 21003,
104
- tenantId: 0,
105
- title: "工作法",
106
- href: "#okr/panel",
107
- iconName: "",
108
- type: "hash",
109
- orderId: 3,
110
- code: "",
111
- appId: 666,
112
- appCode: null,
113
- status: 0,
114
- color: "#ED5858",
115
- groupId: 0,
116
- signUrl: null,
117
- domain: "",
118
- labelName: null,
119
- DataSource: null,
120
- defaultExpand: false,
121
- children: [],
122
- menuPoint: null
123
- }, {
124
- id: 21004,
125
- tenantId: 0,
126
- title: "仪表盘",
127
- href: "#okr/chart",
128
- iconName: "",
129
- type: "hash",
130
- orderId: 3,
131
- code: "",
132
- appId: 666,
133
- appCode: null,
134
- status: 0,
135
- color: "#ED5858",
136
- groupId: 0,
137
- signUrl: null,
138
- domain: "",
139
- labelName: null,
140
- DataSource: null,
141
- defaultExpand: false,
142
- children: [],
143
- menuPoint: null
144
- }],
145
- menuPoint: null,
146
- key: "okr"
147
- }, {
148
- id: 21819,
149
- tenantId: 0,
150
- title: "绩效考核",
151
- href: "#performance",
152
- iconName: "performance",
153
- type: "hash",
154
- orderId: 3,
155
- code: "",
156
- appId: 666,
157
- appCode: null,
158
- status: 0,
159
- color: "#ED5858",
160
- groupId: 0,
161
- signUrl: null,
162
- domain: "",
163
- labelName: null,
164
- DataSource: null,
165
- defaultExpand: false,
166
- children: [{
167
- id: 22001,
168
- tenantId: 0,
169
- title: "我的考核",
170
- href: "#performance/my",
171
- iconName: "",
172
- type: "hash",
173
- orderId: 3,
174
- code: "",
175
- appId: 666,
176
- appCode: null,
177
- status: 0,
178
- color: "#ED5858",
179
- groupId: 0,
180
- signUrl: null,
181
- domain: "",
182
- labelName: null,
183
- DataSource: null,
184
- defaultExpand: false,
185
- children: [],
186
- menuPoint: null
187
- }, {
188
- id: 22002,
189
- tenantId: 0,
190
- title: "考核管理",
191
- href: "#performance/manage",
192
- iconName: "",
193
- type: "hash",
194
- orderId: 3,
195
- code: "",
196
- appId: 666,
197
- appCode: null,
198
- status: 0,
199
- color: "#ED5858",
200
- groupId: 0,
201
- signUrl: null,
202
- domain: "",
203
- labelName: null,
204
- DataSource: null,
205
- defaultExpand: false,
206
- children: [],
207
- menuPoint: null
208
- }, {
209
- id: 22003,
210
- tenantId: 0,
211
- title: "仪表盘",
212
- href: "#performance/dashboard",
213
- iconName: "",
214
- type: "hash",
215
- orderId: 3,
216
- code: "",
217
- appId: 666,
218
- appCode: null,
219
- status: 0,
220
- color: "#ED5858",
221
- groupId: 0,
222
- signUrl: null,
223
- domain: "",
224
- labelName: null,
225
- DataSource: null,
226
- defaultExpand: false,
227
- children: [],
228
- menuPoint: null
229
- }],
230
- menuPoint: null,
231
- key: "performance"
232
- }, {
233
- id: 21820,
234
- tenantId: 0,
235
- title: "项目",
236
- href: "#work",
237
- iconName: "project",
238
- type: "hash",
239
- orderId: 4,
240
- code: "",
241
- appId: 112,
242
- appCode: null,
243
- status: 0,
244
- color: "#F28D49",
245
- groupId: 0,
246
- signUrl: null,
247
- domain: "",
248
- labelName: null,
249
- DataSource: null,
250
- defaultExpand: false,
251
- children: [{
252
- id: 21820,
253
- tenantId: 0,
254
- title: "项目",
255
- href: "#work",
256
- iconName: "project",
257
- type: "hash",
258
- orderId: 4,
259
- code: "",
260
- appId: 112,
261
- appCode: null,
262
- status: 0,
263
- color: "#F28D49",
264
- groupId: 0,
265
- signUrl: null,
266
- domain: "",
267
- labelName: null,
268
- DataSource: null,
269
- defaultExpand: false,
270
- children: [],
271
- menuPoint: null,
272
- key: "work"
273
- }],
274
- menuPoint: null,
275
- key: "work"
276
- }, {
277
- id: 21823,
278
- tenantId: 0,
279
- title: "计划表",
280
- href: "#plan",
281
- iconName: "plan",
282
- type: "hash",
283
- orderId: 5,
284
- code: "",
285
- appId: 116,
286
- appCode: null,
287
- status: 0,
288
- color: "#53C6C6",
289
- groupId: 0,
290
- signUrl: null,
291
- domain: "",
292
- labelName: null,
293
- DataSource: null,
294
- defaultExpand: false,
295
- children: [{
296
- id: 21823,
297
- tenantId: 0,
298
- title: "计划表",
299
- href: "#plan",
300
- iconName: "plan",
301
- type: "hash",
302
- orderId: 5,
303
- code: "",
304
- appId: 116,
305
- appCode: null,
306
- status: 0,
307
- color: "#53C6C6",
308
- groupId: 0,
309
- signUrl: null,
310
- domain: "",
311
- labelName: null,
312
- DataSource: null,
313
- defaultExpand: false,
314
- children: [],
315
- menuPoint: null,
316
- key: "plan"
317
- }],
318
- menuPoint: null,
319
- key: "plan"
320
- }, {
321
- id: 21821,
322
- tenantId: 0,
323
- title: "总结",
324
- href: "#daily",
325
- iconName: "summary",
326
- type: "hash",
327
- orderId: 6,
328
- code: "",
329
- appId: 115,
330
- appCode: null,
331
- status: 0,
332
- color: "#F5D540",
333
- groupId: 0,
334
- signUrl: null,
335
- domain: "",
336
- labelName: null,
337
- DataSource: null,
338
- defaultExpand: false,
339
- children: [{
340
- id: 21821,
341
- tenantId: 0,
342
- title: "总结",
343
- href: "#daily",
344
- iconName: "summary",
345
- type: "hash",
346
- orderId: 6,
347
- code: "",
348
- appId: 115,
349
- appCode: null,
350
- status: 0,
351
- color: "#F5D540",
352
- groupId: 0,
353
- signUrl: null,
354
- domain: "",
355
- labelName: null,
356
- DataSource: null,
357
- defaultExpand: false,
358
- children: [],
359
- menuPoint: null,
360
- key: "summary"
361
- }],
362
- menuPoint: null,
363
- key: "daily"
364
- }, {
365
- id: 21822,
366
- tenantId: 0,
367
- title: "报表",
368
- href: "#report",
369
- iconName: "chart",
370
- type: "hash",
371
- orderId: 7,
372
- code: "",
373
- appId: 118,
374
- appCode: null,
375
- status: 0,
376
- color: "#38BA72",
377
- groupId: 0,
378
- signUrl: null,
379
- domain: "",
380
- labelName: null,
381
- DataSource: null,
382
- defaultExpand: false,
383
- children: [{
384
- id: 21822,
385
- tenantId: 0,
386
- title: "报表",
387
- href: "#report",
388
- iconName: "chart",
389
- type: "hash",
390
- orderId: 7,
391
- code: "",
392
- appId: 118,
393
- appCode: null,
394
- status: 0,
395
- color: "#38BA72",
396
- groupId: 0,
397
- signUrl: null,
398
- domain: "",
399
- labelName: null,
400
- DataSource: null,
401
- defaultExpand: false,
402
- children: [],
403
- menuPoint: null,
404
- key: "report"
405
- }],
406
- menuPoint: null,
407
- key: "report"
408
- }, {
409
- id: 21831,
410
- tenantId: 0,
411
- title: "Learning",
412
- href: "500000126/eLearningHome#learning",
413
- iconName: "learning",
414
- type: "hash",
415
- orderId: 8,
416
- code: "",
417
- appId: 120,
418
- appCode: null,
419
- status: 0,
420
- color: "#5B99EE",
421
- groupId: 0,
422
- signUrl: null,
423
- domain: "",
424
- labelName: null,
425
- DataSource: null,
426
- defaultExpand: false,
427
- children: [],
428
- menuPoint: null,
429
- key: "learning"
430
- }, {
431
- appId: 101,
432
- children: [{
433
- id: 21831,
434
- tenantId: 0,
435
- title: "我的面谈",
436
- href: "#/interview",
437
- iconName: "learning",
438
- type: "hash",
439
- orderId: 8,
440
- code: "",
441
- appId: 120,
442
- appCode: null,
443
- status: 0,
444
- color: "#5B99EE",
445
- groupId: 0,
446
- signUrl: null,
447
- domain: "",
448
- labelName: null,
449
- DataSource: null,
450
- defaultExpand: false,
451
- children: [],
452
- menuPoint: null,
453
- key: "learning"
454
- }],
455
- code: "interview",
456
- color: "#ED5858",
457
- domain: "",
458
- href: "#/interview",
459
- iconName: "interview",
460
- id: 22827,
461
- menuPoint: null,
462
- orderId: 9,
463
- signUrl: null,
464
- tenantId: 0,
465
- title: "1 on 1",
466
- key: 'interview'
467
- }];
468
- return newNavigation;
16
+ var navs = window.BSGlobal.newNavigation;
17
+ navs.sort(function (pre, next) {
18
+ return pre.orderId - next.orderId;
19
+ });
20
+ return navs; // const newNavigation = [
21
+ // {
22
+ // id: 21817,
23
+ // tenantId: 0,
24
+ // title: "动态",
25
+ // href: "#dynamic",
26
+ // iconName: "",
27
+ // type: "hash",
28
+ // orderId: 1,
29
+ // code: "dynamic",
30
+ // appId: 119,
31
+ // appCode: null,
32
+ // status: 0,
33
+ // groupId: 0,
34
+ // signUrl: null,
35
+ // domain: "",
36
+ // labelName: null,
37
+ // DataSource: null,
38
+ // defaultExpand: false,
39
+ // menuPoint: null,
40
+ // },
41
+ // {
42
+ // id: 21818,
43
+ // tenantId: 0,
44
+ // title: "OKR",
45
+ // href: "#okr/manage?relation=1",
46
+ // iconName: "okr",
47
+ // type: "hash",
48
+ // orderId: 2,
49
+ // code: "okr",
50
+ // appId: 113,
51
+ // appCode: null,
52
+ // status: 0,
53
+ // groupId: 0,
54
+ // signUrl: null,
55
+ // domain: "",
56
+ // labelName: null,
57
+ // DataSource: null,
58
+ // defaultExpand: false,
59
+ // children: [
60
+ // {
61
+ // id: 21001,
62
+ // tenantId: 0,
63
+ // title: "OKR",
64
+ // href: "#okr/manage?relation=1",
65
+ // iconName: "",
66
+ // type: "hash",
67
+ // orderId: 3,
68
+ // code: "",
69
+ // appId: 666,
70
+ // appCode: null,
71
+ // status: 0,
72
+ // groupId: 0,
73
+ // signUrl: null,
74
+ // domain: "",
75
+ // labelName: null,
76
+ // DataSource: null,
77
+ // defaultExpand: false,
78
+ // children: [
79
+ // ],
80
+ // menuPoint: null,
81
+ // }, {
82
+ // id: 21002,
83
+ // tenantId: 0,
84
+ // title: "对齐",
85
+ // href: "#okr/map",
86
+ // iconName: "",
87
+ // type: "hash",
88
+ // orderId: 3,
89
+ // code: "",
90
+ // appId: 666,
91
+ // appCode: null,
92
+ // status: 0,
93
+ // groupId: 0,
94
+ // signUrl: null,
95
+ // domain: "",
96
+ // labelName: null,
97
+ // DataSource: null,
98
+ // defaultExpand: false,
99
+ // children: [
100
+ // ],
101
+ // menuPoint: null,
102
+ // }, {
103
+ // id: 21003,
104
+ // tenantId: 0,
105
+ // title: "工作法",
106
+ // href: "#okr/panel",
107
+ // iconName: "",
108
+ // type: "hash",
109
+ // orderId: 3,
110
+ // code: "",
111
+ // appId: 666,
112
+ // appCode: null,
113
+ // status: 0,
114
+ // groupId: 0,
115
+ // signUrl: null,
116
+ // domain: "",
117
+ // labelName: null,
118
+ // DataSource: null,
119
+ // defaultExpand: false,
120
+ // children: [
121
+ // ],
122
+ // menuPoint: null,
123
+ // }, {
124
+ // id: 21004,
125
+ // tenantId: 0,
126
+ // title: "仪表盘",
127
+ // href: "#okr/chart",
128
+ // iconName: "",
129
+ // type: "hash",
130
+ // orderId: 3,
131
+ // code: "",
132
+ // appId: 666,
133
+ // appCode: null,
134
+ // status: 0,
135
+ // groupId: 0,
136
+ // signUrl: null,
137
+ // domain: "",
138
+ // labelName: null,
139
+ // DataSource: null,
140
+ // defaultExpand: false,
141
+ // children: [
142
+ // ],
143
+ // menuPoint: null,
144
+ // },
145
+ // ],
146
+ // menuPoint: null,
147
+ // },
148
+ // {
149
+ // id: 21819,
150
+ // tenantId: 0,
151
+ // title: "绩效考核",
152
+ // href: "#performance",
153
+ // iconName: "performance",
154
+ // type: "hash",
155
+ // orderId: 3,
156
+ // code: "performance",
157
+ // appId: 666,
158
+ // appCode: null,
159
+ // status: 0,
160
+ // groupId: 0,
161
+ // signUrl: null,
162
+ // domain: "",
163
+ // labelName: null,
164
+ // DataSource: null,
165
+ // defaultExpand: false,
166
+ // children: [
167
+ // {
168
+ // id: 22001,
169
+ // tenantId: 0,
170
+ // title: "我的考核",
171
+ // href: "#performance/my",
172
+ // iconName: "",
173
+ // type: "hash",
174
+ // orderId: 3,
175
+ // code: "",
176
+ // appId: 666,
177
+ // appCode: null,
178
+ // status: 0,
179
+ // groupId: 0,
180
+ // signUrl: null,
181
+ // domain: "",
182
+ // labelName: null,
183
+ // DataSource: null,
184
+ // defaultExpand: false,
185
+ // children: [
186
+ // ],
187
+ // menuPoint: null,
188
+ // }, {
189
+ // id: 22002,
190
+ // tenantId: 0,
191
+ // title: "考核管理",
192
+ // href: "#performance/manage",
193
+ // iconName: "",
194
+ // type: "hash",
195
+ // orderId: 3,
196
+ // code: "",
197
+ // appId: 666,
198
+ // appCode: null,
199
+ // status: 0,
200
+ // groupId: 0,
201
+ // signUrl: null,
202
+ // domain: "",
203
+ // labelName: null,
204
+ // DataSource: null,
205
+ // defaultExpand: false,
206
+ // children: [
207
+ // ],
208
+ // menuPoint: null,
209
+ // }, {
210
+ // id: 22003,
211
+ // tenantId: 0,
212
+ // title: "仪表盘",
213
+ // href: "#performance/dashboard",
214
+ // iconName: "",
215
+ // type: "hash",
216
+ // orderId: 3,
217
+ // code: "",
218
+ // appId: 666,
219
+ // appCode: null,
220
+ // status: 0,
221
+ // groupId: 0,
222
+ // signUrl: null,
223
+ // domain: "",
224
+ // labelName: null,
225
+ // DataSource: null,
226
+ // defaultExpand: false,
227
+ // children: [
228
+ // ],
229
+ // menuPoint: null,
230
+ // },
231
+ // ],
232
+ // menuPoint: null,
233
+ // },
234
+ // {
235
+ // id: 21820,
236
+ // tenantId: 0,
237
+ // title: "项目",
238
+ // href: "#work",
239
+ // iconName: "project",
240
+ // type: "hash",
241
+ // orderId: 4,
242
+ // code: "work",
243
+ // appId: 112,
244
+ // appCode: null,
245
+ // status: 0,
246
+ // groupId: 0,
247
+ // signUrl: null,
248
+ // domain: "",
249
+ // labelName: null,
250
+ // DataSource: null,
251
+ // defaultExpand: false,
252
+ // children: [
253
+ // {
254
+ // id: 21820,
255
+ // tenantId: 0,
256
+ // title: "项目",
257
+ // href: "#work",
258
+ // iconName: "project",
259
+ // type: "hash",
260
+ // orderId: 4,
261
+ // code: "",
262
+ // appId: 112,
263
+ // appCode: null,
264
+ // status: 0,
265
+ // groupId: 0,
266
+ // signUrl: null,
267
+ // domain: "",
268
+ // labelName: null,
269
+ // DataSource: null,
270
+ // defaultExpand: false,
271
+ // children: [
272
+ // ],
273
+ // menuPoint: null,
274
+ // },
275
+ // ],
276
+ // menuPoint: null,
277
+ // },
278
+ // {
279
+ // id: 21823,
280
+ // tenantId: 0,
281
+ // title: "计划表",
282
+ // href: "#plan",
283
+ // iconName: "plan",
284
+ // type: "hash",
285
+ // orderId: 5,
286
+ // code: "plan",
287
+ // appId: 116,
288
+ // appCode: null,
289
+ // status: 0,
290
+ // groupId: 0,
291
+ // signUrl: null,
292
+ // domain: "",
293
+ // labelName: null,
294
+ // DataSource: null,
295
+ // defaultExpand: false,
296
+ // children: [
297
+ // {
298
+ // id: 21823,
299
+ // tenantId: 0,
300
+ // title: "计划表",
301
+ // href: "#plan",
302
+ // iconName: "plan",
303
+ // type: "hash",
304
+ // orderId: 5,
305
+ // code: "",
306
+ // appId: 116,
307
+ // appCode: null,
308
+ // status: 0,
309
+ // groupId: 0,
310
+ // signUrl: null,
311
+ // domain: "",
312
+ // labelName: null,
313
+ // DataSource: null,
314
+ // defaultExpand: false,
315
+ // children: [
316
+ // ],
317
+ // menuPoint: null,
318
+ // key: "plan",
319
+ // },
320
+ // ],
321
+ // menuPoint: null,
322
+ // },
323
+ // {
324
+ // id: 21821,
325
+ // tenantId: 0,
326
+ // title: "总结",
327
+ // href: "#daily",
328
+ // iconName: "summary",
329
+ // type: "hash",
330
+ // orderId: 6,
331
+ // code: "",
332
+ // appId: 115,
333
+ // appCode: null,
334
+ // status: 0,
335
+ // groupId: 0,
336
+ // signUrl: null,
337
+ // domain: "",
338
+ // labelName: null,
339
+ // DataSource: null,
340
+ // defaultExpand: false,
341
+ // children: [
342
+ // {
343
+ // id: 21821,
344
+ // tenantId: 0,
345
+ // title: "总结",
346
+ // href: "#daily",
347
+ // iconName: "summary",
348
+ // type: "hash",
349
+ // orderId: 6,
350
+ // code: "",
351
+ // appId: 115,
352
+ // appCode: null,
353
+ // status: 0,
354
+ // groupId: 0,
355
+ // signUrl: null,
356
+ // domain: "",
357
+ // labelName: null,
358
+ // DataSource: null,
359
+ // defaultExpand: false,
360
+ // children: [
361
+ // ],
362
+ // menuPoint: null,
363
+ // key: "summary",
364
+ // },
365
+ // ],
366
+ // menuPoint: null,
367
+ // key: "daily",
368
+ // },
369
+ // {
370
+ // id: 21822,
371
+ // tenantId: 0,
372
+ // title: "报表",
373
+ // href: "#report",
374
+ // iconName: "chart",
375
+ // type: "hash",
376
+ // orderId: 7,
377
+ // code: "",
378
+ // appId: 118,
379
+ // appCode: null,
380
+ // status: 0,
381
+ // groupId: 0,
382
+ // signUrl: null,
383
+ // domain: "",
384
+ // labelName: null,
385
+ // DataSource: null,
386
+ // defaultExpand: false,
387
+ // children: [
388
+ // {
389
+ // id: 21822,
390
+ // tenantId: 0,
391
+ // title: "报表",
392
+ // href: "#report",
393
+ // iconName: "chart",
394
+ // type: "hash",
395
+ // orderId: 7,
396
+ // code: "",
397
+ // appId: 118,
398
+ // appCode: null,
399
+ // status: 0,
400
+ // groupId: 0,
401
+ // signUrl: null,
402
+ // domain: "",
403
+ // labelName: null,
404
+ // DataSource: null,
405
+ // defaultExpand: false,
406
+ // children: [
407
+ // ],
408
+ // menuPoint: null,
409
+ // key: "report",
410
+ // },
411
+ // ],
412
+ // menuPoint: null,
413
+ // key: "report",
414
+ // },
415
+ // {
416
+ // id: 21831,
417
+ // tenantId: 0,
418
+ // title: "Learning",
419
+ // href: "500000126/eLearningHome#learning",
420
+ // iconName: "learning",
421
+ // type: "page",
422
+ // orderId: 8,
423
+ // code: "",
424
+ // appId: 120,
425
+ // appCode: null,
426
+ // status: 0,
427
+ // groupId: 0,
428
+ // signUrl: null,
429
+ // domain: "",
430
+ // labelName: null,
431
+ // DataSource: null,
432
+ // defaultExpand: false,
433
+ // children: [
434
+ // ],
435
+ // menuPoint: null,
436
+ // key: "learning",
437
+ // },
438
+ // {
439
+ // appId: 101,
440
+ // children: [{
441
+ // id: 21831,
442
+ // tenantId: 0,
443
+ // title: "我的面谈",
444
+ // href: "#/interview",
445
+ // iconName: "learning",
446
+ // type: "hash",
447
+ // orderId: 8,
448
+ // code: "",
449
+ // appId: 120,
450
+ // appCode: null,
451
+ // status: 0,
452
+ // groupId: 0,
453
+ // signUrl: null,
454
+ // domain: "",
455
+ // labelName: null,
456
+ // DataSource: null,
457
+ // defaultExpand: false,
458
+ // children: [
459
+ // ],
460
+ // menuPoint: null,
461
+ // key: "learning",
462
+ // }],
463
+ // code: "interview",
464
+ // domain: "",
465
+ // href: "#/interview",
466
+ // iconName: "interview",
467
+ // id: 22827,
468
+ // menuPoint: null,
469
+ // orderId: 9,
470
+ // signUrl: null,
471
+ // tenantId: 0,
472
+ // title: "1 on 1",
473
+ // key:'interview'
474
+ // },
475
+ // ];
476
+ // return newNavigation;
469
477
  };
470
478
 
471
479
  exports.getMenus = getMenus;
@@ -14,7 +14,6 @@
14
14
  line-height: 42px;
15
15
  text-align: center;
16
16
  border-radius: 100px;
17
- text-overflow: ellipsis;
18
17
  overflow: hidden;
19
18
  white-space: nowrap;
20
19
  cursor: pointer;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.12.9-beta.3",
3
+ "version": "1.12.9-beta.4",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "lib/index.js",