diff --git a/src/components/CrudModel.vue b/src/components/CrudModel.vue index 0386e037b..a4cb55a2c 100644 --- a/src/components/CrudModel.vue +++ b/src/components/CrudModel.vue @@ -234,6 +234,8 @@ async function remove(data) { newData = newData.filter((form) => !ids.some((id) => id == form[pk])); fetch(newData); }); + } else { + reset(); } emit('update:selected', []); } diff --git a/src/components/VnTable/VnTable.vue b/src/components/VnTable/VnTable.vue index f53f3c645..26f353d75 100644 --- a/src/components/VnTable/VnTable.vue +++ b/src/components/VnTable/VnTable.vue @@ -53,6 +53,10 @@ const $props = defineProps({ type: Boolean, default: true, }, + bottom: { + type: Object, + default: null, + }, cardClass: { type: String, default: 'flex-one', @@ -102,6 +106,10 @@ const $props = defineProps({ type: Boolean, default: false, }, + disabledAttr: { + type: Boolean, + default: false, + }, }); const { t } = useI18n(); const stateStore = useStateStore(); @@ -520,6 +528,29 @@ function handleOnDataSaved(_) { /> +