@juzhenfe/page-model 3.9.26 → 3.9.28
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/dist/types/common.d.ts
CHANGED
|
@@ -225,6 +225,7 @@ declare global {
|
|
|
225
225
|
api?: string | ((this: CTX, data: MODEL) => string);
|
|
226
226
|
method?: PageModel.AjaxMethod
|
|
227
227
|
beforeSubmit?: CreateDePromiseResult<(this: CTX, data: MODEL) => AnyObject | false>;
|
|
228
|
+
isDisabled?: (this: CTX, data: MODEL) => boolean;
|
|
228
229
|
};
|
|
229
230
|
// 子元素
|
|
230
231
|
children?: Omit<TableBaseItem<MODEL, CTX>, 'children'>[];
|
|
@@ -240,6 +241,10 @@ declare global {
|
|
|
240
241
|
* 显示的行数
|
|
241
242
|
*/
|
|
242
243
|
showRowNumbers?: number;
|
|
244
|
+
/**
|
|
245
|
+
* 图标
|
|
246
|
+
*/
|
|
247
|
+
icon?: any
|
|
243
248
|
}
|
|
244
249
|
|
|
245
250
|
interface TableVirtualBaseItem<MODEL = any, CTX = any> extends TableBaseItem<MODEL, CTX> {
|