Skip to content

Commit 5cc94ca

Browse files
committed
fix(Workspace): Optimized Deleting workspace entries still displays the deleted content on the right.
1 parent a0ae545 commit 5cc94ca

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

frontend/src/views/system/workspace/index.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,9 @@ const delWorkspace = (row: any) => {
269269
message: t('dashboard.delete_success'),
270270
})
271271
init()
272+
if (row.id === currentTable.value.id) {
273+
currentTable.value = {}
274+
}
272275
if (row.id === userStore.getOid) {
273276
userStore.setOid('1')
274277
await userStore.info()

0 commit comments

Comments
 (0)