diff --git a/src/components/Detail/src/Detail.vue b/src/components/Detail/src/Detail.vue index 85b8ae9..2118961 100644 --- a/src/components/Detail/src/Detail.vue +++ b/src/components/Detail/src/Detail.vue @@ -531,6 +531,7 @@ const emit = defineEmits([ 'openImage', 'detailSubmitForm', 'detailOnChange', + 'deleteDetail' ]) /** 删除按钮操作 */ const handleDelete = async (id: number) => { @@ -543,6 +544,7 @@ const handleDelete = async (id: number) => { // 刷新列表 await getList() updateKey.value += 1 + emit('deleteDetail') setBeiJian() } catch {} } diff --git a/src/components/Detail/src/approveDetail.vue b/src/components/Detail/src/approveDetail.vue index 9ed46db..0480289 100644 --- a/src/components/Detail/src/approveDetail.vue +++ b/src/components/Detail/src/approveDetail.vue @@ -1,6 +1,6 @@