chore: reset func
This commit is contained in:
parent
37c22e4f42
commit
da4c612481
@ -60,6 +60,11 @@ const formOptions: VbenFormProps = {
|
|||||||
labelWidth: 80,
|
labelWidth: 80,
|
||||||
},
|
},
|
||||||
wrapperClass: 'grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4',
|
wrapperClass: 'grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4',
|
||||||
|
handleReset: async () => {
|
||||||
|
selectDeptId.value = [];
|
||||||
|
// eslint-disable-next-line no-use-before-define
|
||||||
|
await tableApi.query();
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
const gridOptions: VxeGridProps = {
|
const gridOptions: VxeGridProps = {
|
||||||
|
Loading…
Reference in New Issue
Block a user