mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2025-12-12 05:32:48 +00:00
优化
This commit is contained in:
parent
973320cea7
commit
55eccd4f84
2
src/plugins/view/types/index.d.ts
vendored
2
src/plugins/view/types/index.d.ts
vendored
@ -15,6 +15,7 @@ export declare namespace ClViewGroup {
|
||||
expand(value?: boolean): void;
|
||||
edit(item?: Item): void;
|
||||
remove(item: Item): void;
|
||||
refresh(params?: any): void;
|
||||
}
|
||||
|
||||
interface Options {
|
||||
@ -55,6 +56,7 @@ export declare namespace ClViewGroup {
|
||||
enableContextMenu?: boolean;
|
||||
enableAdd?: boolean;
|
||||
enableRefresh?: boolean;
|
||||
custom?: boolean;
|
||||
onSelect?(item: Item): void;
|
||||
onEdit?(item?: Item): DeepPartial<ClForm.Options>;
|
||||
onContextMenu?(item: Item): ClContextMenu.Options;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user