PageSourceSearch

https://cdn.nocobase.com/2.4.0-alpha.9.20260930161833/assets/3690-be1db747.js

js nocobase.com collected 2026-10-02 09:55:51 UTC 721 bytes, 10 lines download raw bytes

1"use strict";(globalThis.webpackChunknocobase=globalThis.webpackChunknocobase||[]).push([["3690"],{92625(e,t,s){s.r(t),s.d(t,{default:()=>o});let o={contexts:[s(64700).JSCollectionActionRunJSContext],prefix:"sn-act-destroy-selected",label:"Destroy selected rows",description:"Delete selected rows via resource.destroySelectedRows()",locales:{"zh-CN":{label:"删除选中行",description:"通过 resource.destroySelectedRows() 删除选中行"}},content:`
2const rows = ctx.resource?.getSelectedRows?.() || [];
3if (!rows.length) {
4  ctx.message.warning(ctx.t('Please select data'));
5  return;
6}
7
8await ctx.resource.destroySelectedRows();
9ctx.message.success(ctx.t('Deleted {{count}} rows', { count: rows.length }));
10`}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.