fix: 某些带Vxe表格弹窗 关闭后没有正常清理表格数据的问题
This commit is contained in:
parent
8f71d6a5d9
commit
51fbfcedd2
@ -1,3 +1,9 @@
|
|||||||
|
# 1.3.5
|
||||||
|
|
||||||
|
**BUG FIX**
|
||||||
|
|
||||||
|
- 某些带Vxe表格弹窗 关闭后没有正常清理表格数据的问题
|
||||||
|
|
||||||
# 1.3.4
|
# 1.3.4
|
||||||
|
|
||||||
**BUG FIX**
|
**BUG FIX**
|
||||||
|
@ -17,6 +17,7 @@ const emit = defineEmits<{ reload: [] }>();
|
|||||||
const [BasicDrawer, drawerApi] = useVbenDrawer({
|
const [BasicDrawer, drawerApi] = useVbenDrawer({
|
||||||
onConfirm: handleSubmit,
|
onConfirm: handleSubmit,
|
||||||
onCancel: handleReset,
|
onCancel: handleReset,
|
||||||
|
destroyOnClose: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
const route = useRoute();
|
const route = useRoute();
|
||||||
|
@ -85,6 +85,7 @@ const [BasicDrawer, drawerApi] = useVbenDrawer({
|
|||||||
onBeforeClose,
|
onBeforeClose,
|
||||||
onClosed: handleClosed,
|
onClosed: handleClosed,
|
||||||
onConfirm: handleConfirm,
|
onConfirm: handleConfirm,
|
||||||
|
destroyOnClose: true,
|
||||||
async onOpenChange(isOpen) {
|
async onOpenChange(isOpen) {
|
||||||
if (!isOpen) {
|
if (!isOpen) {
|
||||||
return null;
|
return null;
|
||||||
|
@ -85,6 +85,7 @@ const [BasicDrawer, drawerApi] = useVbenDrawer({
|
|||||||
onBeforeClose,
|
onBeforeClose,
|
||||||
onClosed: handleClosed,
|
onClosed: handleClosed,
|
||||||
onConfirm: handleConfirm,
|
onConfirm: handleConfirm,
|
||||||
|
destroyOnClose: true,
|
||||||
async onOpenChange(isOpen) {
|
async onOpenChange(isOpen) {
|
||||||
if (!isOpen) {
|
if (!isOpen) {
|
||||||
return null;
|
return null;
|
||||||
|
Loading…
Reference in New Issue
Block a user