ztxkui 4.3.47 → 4.3.49

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.
@@ -80,7 +80,8 @@ export function catchHandle(data, idKey) {
80
80
  // });
81
81
  // } else {
82
82
  // 不需要修改
83
- customFetch('/api/zmdms-user/user-custom/save', {
83
+ var userCustomBaseUrl = window.localStorage.getItem('_usercustomurl_');
84
+ customFetch((userCustomBaseUrl ? userCustomBaseUrl : '') + "/api/zmdms-user/user-custom/save", {
84
85
  method: 'POST',
85
86
  body: JSON.stringify(__assign({ systemCategory: '1', userId: payload === null || payload === void 0 ? void 0 : payload.user_id, userName: payload === null || payload === void 0 ? void 0 : payload.real_name }, data)),
86
87
  headers: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ztxkui",
3
- "version": "4.3.47",
3
+ "version": "4.3.49",
4
4
  "private": false,
5
5
  "description": "React components library",
6
6
  "author": "zt-front-end",