@pisell/materials 1.0.976 → 1.0.977

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.
@@ -102,7 +102,7 @@ export var updateTenantSettingFromUrl = /*#__PURE__*/function () {
102
102
  urlParams = getUrlParams();
103
103
  businessCode = urlParams.businessCode;
104
104
  channelCode = urlParams.channelCode; // 构建board_code(只有当isBoard参数为1时才有)
105
- boardCode = urlParams.isBoard === '1' && businessCode && channelCode ? "".concat(businessCode, "x").concat(channelCode) : undefined; // 构建请求体,按照 curl 请求的格式
105
+ boardCode = urlParams.is_board === '1' && businessCode && channelCode ? "".concat(businessCode, "x").concat(channelCode) : undefined; // 构建请求体,按照 curl 请求的格式
106
106
  requestBody = {
107
107
  business_code: businessCode || '',
108
108
  channel_code: channelCode || '',
@@ -67,7 +67,7 @@ var updateTenantSettingFromUrl = async (data) => {
67
67
  const urlParams = getUrlParams();
68
68
  const businessCode = urlParams.businessCode;
69
69
  const channelCode = urlParams.channelCode;
70
- const boardCode = urlParams.isBoard === "1" && businessCode && channelCode ? `${businessCode}x${channelCode}` : void 0;
70
+ const boardCode = urlParams.is_board === "1" && businessCode && channelCode ? `${businessCode}x${channelCode}` : void 0;
71
71
  const requestBody = {
72
72
  business_code: businessCode || "",
73
73
  channel_code: channelCode || "",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/materials",
3
- "version": "1.0.976",
3
+ "version": "1.0.977",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -75,9 +75,9 @@
75
75
  "antd-mobile": "^5.38.1",
76
76
  "vod-js-sdk-v6": "^1.4.11",
77
77
  "react-camera-pro": "1.4.0",
78
- "@pisell/utils": "1.0.55",
79
78
  "@pisell/date-picker": "1.0.127",
80
- "@pisell/icon": "0.0.10"
79
+ "@pisell/icon": "0.0.10",
80
+ "@pisell/utils": "1.0.55"
81
81
  },
82
82
  "peerDependencies": {
83
83
  "react": "^18.0.0",