diff --git a/src/renderer/src/views/classManage/classReserv.vue b/src/renderer/src/views/classManage/classReserv.vue index 8983269..11529c1 100644 --- a/src/renderer/src/views/classManage/classReserv.vue +++ b/src/renderer/src/views/classManage/classReserv.vue @@ -17,6 +17,8 @@ v-show="tabActive === '已结束'" :key="index" :item="item" + @open-edit="reservDialog.openDialog(item)" + @delete-reserv="deleteReserv(item)" > @@ -51,8 +53,8 @@ const doneDataList = computed(() => { }) const toolStore = useToolState() watch( - () => toolStore.isToolWin, - (newD, oldD) => { + () => [dataList,toolStore.isToolWin], + () => { getSelfReserv().then((res) => { dataList.value = [...res.data] }) diff --git a/src/renderer/src/views/profile/index.vue b/src/renderer/src/views/profile/index.vue index c70b229..db29e01 100644 --- a/src/renderer/src/views/profile/index.vue +++ b/src/renderer/src/views/profile/index.vue @@ -1,7 +1,7 @@