ydb-components-material 0.1.75 → 0.1.77

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/es/api.js CHANGED
@@ -9,7 +9,8 @@ export var post = /*#__PURE__*/function () {
9
9
  if (noJson === void 0) {
10
10
  noJson = false;
11
11
  }
12
- console.log('window.env', window.env, window.tokenTY);
12
+ console.log('window.env111', window.env, window.tokenTY);
13
+ // zwfwpt.sxzwfw.gov.cn
13
14
  if (window.env === 'release' && url.indexOf('zwfwpt.sxzwfw.gov.cn') > -1) {
14
15
  url = url.replace('zwfwpt.sxzwfw.gov.cn', 'zwfwpt.sxzwfw.gov.cn:10010');
15
16
  }
@@ -406,7 +406,7 @@ var FileItem = function FileItem(_ref) {
406
406
  }, /*#__PURE__*/React.createElement("img", {
407
407
  src: downloadIconPC,
408
408
  alt: ""
409
- }), "\u4E0B\u8F7D"))), /*#__PURE__*/React.createElement("div", {
409
+ }), "\u4E0B\u8F7D"))), !disabled && /*#__PURE__*/React.createElement("div", {
410
410
  className: isPC ? 'operation_pc' : 'operation'
411
411
  }, /*#__PURE__*/React.createElement("div", {
412
412
  className: "btn"
@@ -447,7 +447,7 @@ var FileItem = function FileItem(_ref) {
447
447
  }, /*#__PURE__*/React.createElement("img", {
448
448
  src: previewIcon,
449
449
  alt: ""
450
- }), "\u9884\u89C8"), /*#__PURE__*/React.createElement("div", {
450
+ }), "\u9884\u89C8"), !disabled && /*#__PURE__*/React.createElement("div", {
451
451
  className: "line"
452
452
  }), !disabled && /*#__PURE__*/React.createElement("div", {
453
453
  className: "icon_text",
@@ -122,7 +122,7 @@ function _uploadSignFile() {
122
122
  headers: {
123
123
  Authorization: window.token
124
124
  },
125
- action: "\nhttps://zwfwpt.sxzwfw.gov.cn" + (window.env === 'release' ? ':10010' : '') + "/declaration/center/signapproval/api/createbyfile",
125
+ action: "\nhttps://zwfwpt.sxzwfw.gov.cn" + (window.env === 'release' ? ':10010' : '') + "/DeclarationAPI/declaration/center/signapproval/api/createbyfile",
126
126
  // 上传文件的地址
127
127
  onError: function onError(e) {
128
128
  // uni.$u.toast(e.msg || '手写签批上传文件异常');
package/lib/api.js CHANGED
@@ -14,7 +14,8 @@ var post = exports.post = /*#__PURE__*/function () {
14
14
  if (noJson === void 0) {
15
15
  noJson = false;
16
16
  }
17
- console.log('window.env', window.env, window.tokenTY);
17
+ console.log('window.env111', window.env, window.tokenTY);
18
+ // zwfwpt.sxzwfw.gov.cn
18
19
  if (window.env === 'release' && url.indexOf('zwfwpt.sxzwfw.gov.cn') > -1) {
19
20
  url = url.replace('zwfwpt.sxzwfw.gov.cn', 'zwfwpt.sxzwfw.gov.cn:10010');
20
21
  }
@@ -412,7 +412,7 @@ var FileItem = function FileItem(_ref) {
412
412
  }, /*#__PURE__*/_react["default"].createElement("img", {
413
413
  src: _download_pc["default"],
414
414
  alt: ""
415
- }), "\u4E0B\u8F7D"))), /*#__PURE__*/_react["default"].createElement("div", {
415
+ }), "\u4E0B\u8F7D"))), !disabled && /*#__PURE__*/_react["default"].createElement("div", {
416
416
  className: isPC ? 'operation_pc' : 'operation'
417
417
  }, /*#__PURE__*/_react["default"].createElement("div", {
418
418
  className: "btn"
@@ -453,7 +453,7 @@ var FileItem = function FileItem(_ref) {
453
453
  }, /*#__PURE__*/_react["default"].createElement("img", {
454
454
  src: _preview["default"],
455
455
  alt: ""
456
- }), "\u9884\u89C8"), /*#__PURE__*/_react["default"].createElement("div", {
456
+ }), "\u9884\u89C8"), !disabled && /*#__PURE__*/_react["default"].createElement("div", {
457
457
  className: "line"
458
458
  }), !disabled && /*#__PURE__*/_react["default"].createElement("div", {
459
459
  className: "icon_text",
@@ -126,7 +126,7 @@ function _uploadSignFile() {
126
126
  headers: {
127
127
  Authorization: window.token
128
128
  },
129
- action: "\nhttps://zwfwpt.sxzwfw.gov.cn" + (window.env === 'release' ? ':10010' : '') + "/declaration/center/signapproval/api/createbyfile",
129
+ action: "\nhttps://zwfwpt.sxzwfw.gov.cn" + (window.env === 'release' ? ':10010' : '') + "/DeclarationAPI/declaration/center/signapproval/api/createbyfile",
130
130
  // 上传文件的地址
131
131
  onError: function onError(e) {
132
132
  // uni.$u.toast(e.msg || '手写签批上传文件异常');
@@ -89,7 +89,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
89
89
  packageName = 'ydb-components-material';
90
90
  }
91
91
  if (version === void 0) {
92
- version = '0.1.75';
92
+ version = '0.1.77';
93
93
  }
94
94
  if (basicLibraryVersion === void 0) {
95
95
  basicLibraryVersion = {
@@ -94,7 +94,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
94
94
  packageName = 'ydb-components-material';
95
95
  }
96
96
  if (version === void 0) {
97
- version = '0.1.75';
97
+ version = '0.1.77';
98
98
  }
99
99
  if (basicLibraryVersion === void 0) {
100
100
  basicLibraryVersion = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ydb-components-material",
3
- "version": "0.1.75",
3
+ "version": "0.1.77",
4
4
  "description": "ydb-components-material",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -97,10 +97,10 @@
97
97
  },
98
98
  "componentConfig": {
99
99
  "isComponentLibrary": true,
100
- "materialSchema": "https://unpkg.com/ydb-components-material@0.1.75/build/lowcode/assets-prod.json"
100
+ "materialSchema": "https://unpkg.com/ydb-components-material@0.1.77/build/lowcode/assets-prod.json"
101
101
  },
102
102
  "lcMeta": {
103
103
  "type": "component"
104
104
  },
105
- "homepage": "https://unpkg.com/ydb-components-material@0.1.75/build/index.html"
105
+ "homepage": "https://unpkg.com/ydb-components-material@0.1.77/build/index.html"
106
106
  }