@ccs-ui/rc-pro 1.1.7 → 1.1.10
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/ccs.d.ts +5 -3
- package/es/dialog/hook.d.ts +6 -6
- package/es/full-screen/index.js +1 -1
- package/es/pro-table/index.d.ts +17 -74
- package/es/pro-table/index.js +17 -477
- package/es/pro-table/search.d.ts +1 -1
- package/es/pro-table/search.js +3 -2
- package/es/pro-table/table.d.ts +80 -0
- package/es/pro-table/table.js +493 -0
- package/es/pro-table/tree.d.ts +7 -3
- package/es/pro-table/tree.js +10 -21
- package/es/table/index.d.ts +1 -1
- package/es/table/index.js +2 -27
- package/es/theme-dialog.js +2 -2
- package/package.json +1 -2
package/es/theme-dialog.js
CHANGED
|
@@ -27,10 +27,10 @@ var ThemeDialog = /*#__PURE__*/function () {
|
|
|
27
27
|
}, {
|
|
28
28
|
key: "easyMessage",
|
|
29
29
|
value: function easyMessage(result, successText, failText) {
|
|
30
|
-
if (result.success) {
|
|
30
|
+
if (result !== null && result !== void 0 && result.success) {
|
|
31
31
|
ThemeDialog.message.success(successText || '操作成功');
|
|
32
32
|
} else {
|
|
33
|
-
ThemeDialog.message.error(failText || result.msg || '操作失败');
|
|
33
|
+
ThemeDialog.message.error(failText || (result === null || result === void 0 ? void 0 : result.msg) || '操作失败');
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ccs-ui/rc-pro",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.10",
|
|
4
4
|
"description": "A react pro components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -49,7 +49,6 @@
|
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@ant-design/compatible": "^5.1.2",
|
|
51
51
|
"@ant-design/icons": "^5.1.4",
|
|
52
|
-
"@ccs-ui/rc-pro": "1.1.1-rc34",
|
|
53
52
|
"ahooks": "^3.7.7",
|
|
54
53
|
"antd": "^5.11.0",
|
|
55
54
|
"antd-img-crop": "^4.12.2",
|