zs
2025-05-07 2cc966a2bb5bc2397a7188139334c8d7ccaee222
Weben_CMS专用代码生成器/Code/Templete/Web/Controllers/EntityMode模板.txt
@@ -128,9 +128,9 @@
    {
      label: '鍒犻櫎',
      fn: async (c: CurrentType) => {
        const names = selection.value.map((item: { name: string }) => item.name)
        const names = selection.value.map((item: { $DeleteAlertAttr$: string }) => item.$DeleteAlertAttr$)
        ConfirmBox(
          `鏄惁鍒犻櫎${names.length ? names.join(',') : c.row.name}`
          `鏄惁鍒犻櫎${names.length ? names.join(',') : c.row.$DeleteAlertAttr$}`
        ).then(async () => {
          const ids = selection.value.map((item: { id: string }) => item.id)
          await $PageMenuInstanceName$.delete$EntityName$s(ids.length ? ids : [c.row.id])