dmx-admin-ui 1.2.218 → 1.2.220

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types/admin.d.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dmx-admin-ui",
3
- "version": "1.2.218",
3
+ "version": "1.2.220",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org"
6
6
  },
package/types/admin.d.ts CHANGED
@@ -329,11 +329,11 @@ interface AnyCol {
329
329
  /** 操作按钮 */
330
330
  interface ToolButton {
331
331
  title?: string;
332
- action: 'edit' | 'del' | 'detail' | ((row: Record<string, any>, index: number) => void) | { data: Record<string, any>, url?: string } | adminTableFrom;
332
+ action: 'edit' | 'del' | 'detail' | ((row: Record<string, any>, index: number) => void) | { data?: Record<string, any>, url?: string,api:true|string } | adminTableFrom;
333
333
  /** tabs索引 */
334
334
  tab?: number | number[];
335
335
  /** 是否显示确认框 */
336
- confirm?: boolean;
336
+ confirm?: boolean|string;
337
337
  }
338
338
 
339
339
  /** 操作栏列 */