@lingxiteam/ebe-utils 0.1.28 → 0.1.30

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.
@@ -222,7 +222,7 @@ const PreviewFile: React.FC<PreviewFileProps> = (props) => {
222
222
  });
223
223
  xhr.setRequestHeader(
224
224
  'X-SIGN',
225
- security.httpEncryption.createHttpSignStr(url, {
225
+ security.createHttpSignStr(url, {
226
226
  method: 'GET',
227
227
  headers,
228
228
  body: '',
@@ -653,15 +653,12 @@ const ImportBusiObjModal = forwardRef<
653
653
  });
654
654
  xhr.setRequestHeader(
655
655
  'X-SIGN',
656
- security.httpEncryption.createHttpSignStr(
657
- baseUploadProps.action as string,
658
- {
659
- method: 'post',
660
- headers: baseUploadProps.headers,
661
- body: formData || '',
662
- search: '',
663
- },
664
- ),
656
+ security.createHttpSignStr(baseUploadProps.action as string, {
657
+ method: 'POST',
658
+ headers: baseUploadProps.headers,
659
+ body: formData || '',
660
+ search: '',
661
+ }),
665
662
  );
666
663
  xhr.withCredentials = true;
667
664
  // 后端解析结束触发回调,终止进度
@@ -54,4 +54,6 @@ export const api = {
54
54
  `app/validateCode/getValidateCodePicture?validateCodeCount=${validateCodeCount}&t=${t}&X-B-AUTH=1`,
55
55
  ),
56
56
  ),
57
+ // 假的页面 dsl,为了表格中的弹出窗功能
58
+ getPageVersionById: ({ pageId }: any) => ({ pageId }),
57
59
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lingxiteam/ebe-utils",
3
- "version": "0.1.28",
3
+ "version": "0.1.30",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "author": "",
@@ -19,7 +19,7 @@
19
19
  "@babel/types": "^7.12.12",
20
20
  "cac": "^6.7.14",
21
21
  "fs-extra": "9.x",
22
- "@lingxiteam/ebe": "0.1.28"
22
+ "@lingxiteam/ebe": "0.1.30"
23
23
  },
24
24
  "publishConfig": {
25
25
  "access": "public"