inl-ui 0.1.162 → 0.1.170
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/dist/components/index.cjs +8 -8
- package/dist/components/index.js +8 -8
- package/dist/index.cjs +9 -9
- package/dist/index.d.ts +1 -6
- package/dist/index.js +9 -9
- package/dist/utils/index.cjs +8 -8
- package/dist/utils/index.d.ts +0 -5
- package/dist/utils/index.js +8 -8
- package/package.json +1 -1
|
@@ -88,20 +88,20 @@ const getUserinfo = () => {
|
|
|
88
88
|
}
|
|
89
89
|
};
|
|
90
90
|
const getCommonHeaders = () => {
|
|
91
|
-
|
|
92
|
-
|
|
91
|
+
getUserinfo();
|
|
92
|
+
getUserId();
|
|
93
93
|
const token = getToken();
|
|
94
94
|
const appId = getAppId();
|
|
95
|
-
|
|
95
|
+
getCorpId();
|
|
96
96
|
const Authorization = `Bearer ${token}`;
|
|
97
97
|
return {
|
|
98
|
-
userName: userInfo?.userName,
|
|
99
|
-
userId: userInfo?.userId || userId,
|
|
100
|
-
employeeName: encodeURIComponent(userInfo?.employeeName ?? ""),
|
|
101
|
-
employeeId: userInfo?.employeeId,
|
|
98
|
+
// userName: userInfo?.userName,
|
|
99
|
+
// userId: userInfo?.userId || userId,
|
|
100
|
+
// employeeName: encodeURIComponent(userInfo?.employeeName ?? ""),
|
|
101
|
+
// employeeId: userInfo?.employeeId,
|
|
102
102
|
token,
|
|
103
103
|
appId,
|
|
104
|
-
corpId,
|
|
104
|
+
// corpId,
|
|
105
105
|
Authorization,
|
|
106
106
|
"Content-Type": "application/json;charset=utf-8"
|
|
107
107
|
};
|
package/dist/components/index.js
CHANGED
|
@@ -59,20 +59,20 @@ const getUserinfo = () => {
|
|
|
59
59
|
}
|
|
60
60
|
};
|
|
61
61
|
const getCommonHeaders = () => {
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
getUserinfo();
|
|
63
|
+
getUserId();
|
|
64
64
|
const token = getToken();
|
|
65
65
|
const appId = getAppId();
|
|
66
|
-
|
|
66
|
+
getCorpId();
|
|
67
67
|
const Authorization = `Bearer ${token}`;
|
|
68
68
|
return {
|
|
69
|
-
userName: userInfo?.userName,
|
|
70
|
-
userId: userInfo?.userId || userId,
|
|
71
|
-
employeeName: encodeURIComponent(userInfo?.employeeName ?? ""),
|
|
72
|
-
employeeId: userInfo?.employeeId,
|
|
69
|
+
// userName: userInfo?.userName,
|
|
70
|
+
// userId: userInfo?.userId || userId,
|
|
71
|
+
// employeeName: encodeURIComponent(userInfo?.employeeName ?? ""),
|
|
72
|
+
// employeeId: userInfo?.employeeId,
|
|
73
73
|
token,
|
|
74
74
|
appId,
|
|
75
|
-
corpId,
|
|
75
|
+
// corpId,
|
|
76
76
|
Authorization,
|
|
77
77
|
"Content-Type": "application/json;charset=utf-8"
|
|
78
78
|
};
|
package/dist/index.cjs
CHANGED
|
@@ -45,7 +45,7 @@ var ___default = /*#__PURE__*/_interopDefaultLegacy(_);
|
|
|
45
45
|
var dayjs__default = /*#__PURE__*/_interopDefaultLegacy(dayjs);
|
|
46
46
|
var mqtt__default = /*#__PURE__*/_interopDefaultLegacy(mqtt);
|
|
47
47
|
|
|
48
|
-
var version = "0.1.
|
|
48
|
+
var version = "0.1.164";
|
|
49
49
|
|
|
50
50
|
const setTheme = theme => {
|
|
51
51
|
if (theme === "dark") {
|
|
@@ -227,20 +227,20 @@ const getUserinfo = () => {
|
|
|
227
227
|
}
|
|
228
228
|
};
|
|
229
229
|
const getCommonHeaders = () => {
|
|
230
|
-
|
|
231
|
-
|
|
230
|
+
getUserinfo();
|
|
231
|
+
getUserId();
|
|
232
232
|
const token = getToken();
|
|
233
233
|
const appId = getAppId();
|
|
234
|
-
|
|
234
|
+
getCorpId();
|
|
235
235
|
const Authorization = `Bearer ${token}`;
|
|
236
236
|
return {
|
|
237
|
-
userName: userInfo?.userName,
|
|
238
|
-
userId: userInfo?.userId || userId,
|
|
239
|
-
employeeName: encodeURIComponent(userInfo?.employeeName ?? ""),
|
|
240
|
-
employeeId: userInfo?.employeeId,
|
|
237
|
+
// userName: userInfo?.userName,
|
|
238
|
+
// userId: userInfo?.userId || userId,
|
|
239
|
+
// employeeName: encodeURIComponent(userInfo?.employeeName ?? ""),
|
|
240
|
+
// employeeId: userInfo?.employeeId,
|
|
241
241
|
token,
|
|
242
242
|
appId,
|
|
243
|
-
corpId,
|
|
243
|
+
// corpId,
|
|
244
244
|
Authorization,
|
|
245
245
|
"Content-Type": "application/json;charset=utf-8"
|
|
246
246
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { Key } from 'ant-design-vue/lib/table/interface';
|
|
|
11
11
|
import * as vue_jsx_runtime from 'vue/jsx-runtime';
|
|
12
12
|
import * as _ant_design_icons_vue_lib_components_IconFont from '@ant-design/icons-vue/lib/components/IconFont';
|
|
13
13
|
|
|
14
|
-
var version = "0.1.
|
|
14
|
+
var version = "0.1.164";
|
|
15
15
|
|
|
16
16
|
declare const _default$p: {
|
|
17
17
|
set(theme: string): void;
|
|
@@ -78,13 +78,8 @@ interface IApiInstanceConfig extends AxiosRequestConfig {
|
|
|
78
78
|
* keepProperty: boolean; 保留多余的属性,如createUser
|
|
79
79
|
*/
|
|
80
80
|
declare const getCommonHeaders: () => {
|
|
81
|
-
userName: any;
|
|
82
|
-
userId: any;
|
|
83
|
-
employeeName: string;
|
|
84
|
-
employeeId: any;
|
|
85
81
|
token: string;
|
|
86
82
|
appId: any;
|
|
87
|
-
corpId: any;
|
|
88
83
|
Authorization: string;
|
|
89
84
|
"Content-Type": string;
|
|
90
85
|
};
|
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ import { XPopup, CommentBlock, setAxiosOption } from '@sszj-temp/mobile';
|
|
|
14
14
|
import { marked } from 'marked';
|
|
15
15
|
import '@sszj-temp/mobile/style.css';
|
|
16
16
|
|
|
17
|
-
var version = "0.1.
|
|
17
|
+
var version = "0.1.164";
|
|
18
18
|
|
|
19
19
|
const setTheme = theme => {
|
|
20
20
|
if (theme === "dark") {
|
|
@@ -196,20 +196,20 @@ const getUserinfo = () => {
|
|
|
196
196
|
}
|
|
197
197
|
};
|
|
198
198
|
const getCommonHeaders = () => {
|
|
199
|
-
|
|
200
|
-
|
|
199
|
+
getUserinfo();
|
|
200
|
+
getUserId();
|
|
201
201
|
const token = getToken();
|
|
202
202
|
const appId = getAppId();
|
|
203
|
-
|
|
203
|
+
getCorpId();
|
|
204
204
|
const Authorization = `Bearer ${token}`;
|
|
205
205
|
return {
|
|
206
|
-
userName: userInfo?.userName,
|
|
207
|
-
userId: userInfo?.userId || userId,
|
|
208
|
-
employeeName: encodeURIComponent(userInfo?.employeeName ?? ""),
|
|
209
|
-
employeeId: userInfo?.employeeId,
|
|
206
|
+
// userName: userInfo?.userName,
|
|
207
|
+
// userId: userInfo?.userId || userId,
|
|
208
|
+
// employeeName: encodeURIComponent(userInfo?.employeeName ?? ""),
|
|
209
|
+
// employeeId: userInfo?.employeeId,
|
|
210
210
|
token,
|
|
211
211
|
appId,
|
|
212
|
-
corpId,
|
|
212
|
+
// corpId,
|
|
213
213
|
Authorization,
|
|
214
214
|
"Content-Type": "application/json;charset=utf-8"
|
|
215
215
|
};
|
package/dist/utils/index.cjs
CHANGED
|
@@ -213,20 +213,20 @@ const getUserinfo = () => {
|
|
|
213
213
|
}
|
|
214
214
|
};
|
|
215
215
|
const getCommonHeaders = () => {
|
|
216
|
-
|
|
217
|
-
|
|
216
|
+
getUserinfo();
|
|
217
|
+
getUserId();
|
|
218
218
|
const token = getToken();
|
|
219
219
|
const appId = getAppId();
|
|
220
|
-
|
|
220
|
+
getCorpId();
|
|
221
221
|
const Authorization = `Bearer ${token}`;
|
|
222
222
|
return {
|
|
223
|
-
userName: userInfo?.userName,
|
|
224
|
-
userId: userInfo?.userId || userId,
|
|
225
|
-
employeeName: encodeURIComponent(userInfo?.employeeName ?? ""),
|
|
226
|
-
employeeId: userInfo?.employeeId,
|
|
223
|
+
// userName: userInfo?.userName,
|
|
224
|
+
// userId: userInfo?.userId || userId,
|
|
225
|
+
// employeeName: encodeURIComponent(userInfo?.employeeName ?? ""),
|
|
226
|
+
// employeeId: userInfo?.employeeId,
|
|
227
227
|
token,
|
|
228
228
|
appId,
|
|
229
|
-
corpId,
|
|
229
|
+
// corpId,
|
|
230
230
|
Authorization,
|
|
231
231
|
"Content-Type": "application/json;charset=utf-8"
|
|
232
232
|
};
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -69,13 +69,8 @@ interface IApiInstanceConfig extends AxiosRequestConfig {
|
|
|
69
69
|
* keepProperty: boolean; 保留多余的属性,如createUser
|
|
70
70
|
*/
|
|
71
71
|
declare const getCommonHeaders: () => {
|
|
72
|
-
userName: any;
|
|
73
|
-
userId: any;
|
|
74
|
-
employeeName: string;
|
|
75
|
-
employeeId: any;
|
|
76
72
|
token: string;
|
|
77
73
|
appId: any;
|
|
78
|
-
corpId: any;
|
|
79
74
|
Authorization: string;
|
|
80
75
|
"Content-Type": string;
|
|
81
76
|
};
|
package/dist/utils/index.js
CHANGED
|
@@ -185,20 +185,20 @@ const getUserinfo = () => {
|
|
|
185
185
|
}
|
|
186
186
|
};
|
|
187
187
|
const getCommonHeaders = () => {
|
|
188
|
-
|
|
189
|
-
|
|
188
|
+
getUserinfo();
|
|
189
|
+
getUserId();
|
|
190
190
|
const token = getToken();
|
|
191
191
|
const appId = getAppId();
|
|
192
|
-
|
|
192
|
+
getCorpId();
|
|
193
193
|
const Authorization = `Bearer ${token}`;
|
|
194
194
|
return {
|
|
195
|
-
userName: userInfo?.userName,
|
|
196
|
-
userId: userInfo?.userId || userId,
|
|
197
|
-
employeeName: encodeURIComponent(userInfo?.employeeName ?? ""),
|
|
198
|
-
employeeId: userInfo?.employeeId,
|
|
195
|
+
// userName: userInfo?.userName,
|
|
196
|
+
// userId: userInfo?.userId || userId,
|
|
197
|
+
// employeeName: encodeURIComponent(userInfo?.employeeName ?? ""),
|
|
198
|
+
// employeeId: userInfo?.employeeId,
|
|
199
199
|
token,
|
|
200
200
|
appId,
|
|
201
|
-
corpId,
|
|
201
|
+
// corpId,
|
|
202
202
|
Authorization,
|
|
203
203
|
"Content-Type": "application/json;charset=utf-8"
|
|
204
204
|
};
|