This commit is contained in:
dap
2024-11-01 08:35:13 +08:00
11 changed files with 97 additions and 13 deletions

View File

@@ -7,10 +7,16 @@ const [Modal, modalApi] = useVbenModal({
onCancel() {
modalApi.close();
},
onClosed() {
message.info('onClosed关闭动画结束');
},
onConfirm() {
message.info('onConfirm');
// modalApi.close();
},
onOpened() {
message.info('onOpened打开动画结束');
},
});
</script>
<template>

View File

@@ -31,6 +31,7 @@ const gridOptions: VxeGridProps<RowType> = {
{ field: 'price', title: 'Price' },
{ field: 'releaseDate', formatter: 'formatDateTime', title: 'DateTime' },
],
exportConfig: {},
height: 'auto',
keepSource: true,
proxyConfig: {
@@ -45,7 +46,7 @@ const gridOptions: VxeGridProps<RowType> = {
},
toolbarConfig: {
custom: true,
// export: true,
export: true,
// import: true,
refresh: true,
zoom: true,