@zat-design/sisyphus-react 3.2.2-beta.10 → 3.2.2-beta.11

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.
@@ -3027,6 +3027,9 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
3027
3027
  -ms-flex-pack: center;
3028
3028
  justify-content: center;
3029
3029
  }
3030
+ .proupload-modal-preview .ant-modal {
3031
+ width: 600px;
3032
+ }
3030
3033
  .pro-tree-select .ant-select-selector .check-mark-icon {
3031
3034
  display: none;
3032
3035
  }
@@ -17,7 +17,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
17
17
  * @Author: wangshengqiang
18
18
  * @Date: 2023-07-27 20:13:07
19
19
  * @LastEditors: wangshengqiang
20
- * @LastEditTime: 2023-11-07 19:01:07
20
+ * @LastEditTime: 2023-11-15 17:57:53
21
21
  * @Description: 图片类型
22
22
  *
23
23
  */
@@ -252,8 +252,12 @@ var ImageRender = function ImageRender(props) {
252
252
  }), _jsx(_Modal, {
253
253
  title: previewImg === null || previewImg === void 0 ? void 0 : previewImg.name,
254
254
  width: "600",
255
+ style: {
256
+ width: '400px'
257
+ },
255
258
  open: !!(previewImg === null || previewImg === void 0 ? void 0 : previewImg.url),
256
259
  // showType="Modal"
260
+ wrapClassName: "proupload-modal-preview",
257
261
  onCancel: handlePreviewCancel,
258
262
  footer: false,
259
263
  children: _jsx("img", {
@@ -322,3 +322,9 @@
322
322
  align-items : center;
323
323
  justify-content: center;
324
324
  }
325
+
326
+ .proupload-modal-preview {
327
+ .ant-modal {
328
+ width: 600px;
329
+ }
330
+ }
@@ -27,7 +27,7 @@ var _locale = _interopRequireDefault(require("../../locale"));
27
27
  * @Author: wangshengqiang
28
28
  * @Date: 2023-07-27 20:13:07
29
29
  * @LastEditors: wangshengqiang
30
- * @LastEditTime: 2023-11-07 19:01:07
30
+ * @LastEditTime: 2023-11-15 17:57:53
31
31
  * @Description: 图片类型
32
32
  *
33
33
  */
@@ -250,8 +250,12 @@ var ImageRender = function ImageRender(props) {
250
250
  }), (0, _jsxRuntime.jsx)(_antd.Modal, {
251
251
  title: previewImg === null || previewImg === void 0 ? void 0 : previewImg.name,
252
252
  width: "600",
253
+ style: {
254
+ width: '400px'
255
+ },
253
256
  open: !!(previewImg === null || previewImg === void 0 ? void 0 : previewImg.url),
254
257
  // showType="Modal"
258
+ wrapClassName: "proupload-modal-preview",
255
259
  onCancel: handlePreviewCancel,
256
260
  footer: false,
257
261
  children: (0, _jsxRuntime.jsx)("img", {
@@ -322,3 +322,9 @@
322
322
  align-items : center;
323
323
  justify-content: center;
324
324
  }
325
+
326
+ .proupload-modal-preview {
327
+ .ant-modal {
328
+ width: 600px;
329
+ }
330
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zat-design/sisyphus-react",
3
- "version": "3.2.2-beta.10",
3
+ "version": "3.2.2-beta.11",
4
4
  "license": "Apache-2.0",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",