liyu-pc-base 1.0.108 → 1.0.110

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.
@@ -2456,10 +2456,13 @@ const ge = () => {
2456
2456
  "permission/batch_delete_menu"
2457
2457
  ],
2458
2458
  cb: ({ selectedRowKeys: e }) => {
2459
- !e && e.length <= 0 && Y.info({
2460
- message: "温馨提示",
2461
- description: "请选择要操作的数据"
2462
- });
2459
+ if (!e || e.length <= 0) {
2460
+ Y.info({
2461
+ message: "温馨提示",
2462
+ description: "请选择要操作的数据"
2463
+ });
2464
+ return;
2465
+ }
2463
2466
  const l = U().currentOrg;
2464
2467
  ce.confirm({
2465
2468
  title: () => "是否批量删除已选中数据",
@@ -2492,10 +2495,13 @@ const ge = () => {
2492
2495
  "permission/batch_recover_menu"
2493
2496
  ],
2494
2497
  cb: ({ selectedRowKeys: e }) => {
2495
- !e && e.length <= 0 && Y.info({
2496
- message: "温馨提示",
2497
- description: "请选择要操作的数据"
2498
- });
2498
+ if (!e || e.length <= 0) {
2499
+ Y.info({
2500
+ message: "温馨提示",
2501
+ description: "请选择要操作的数据"
2502
+ });
2503
+ return;
2504
+ }
2499
2505
  const l = U().currentOrg;
2500
2506
  ce.confirm({
2501
2507
  title: () => "是否批量恢复已选中数据",