Skip to content

Commit

Permalink
fix(listener): old data remaining
Browse files Browse the repository at this point in the history
  • Loading branch information
Kinplemelon authored and ysfscream committed Jun 11, 2024
1 parent 1594a5b commit 531cfd5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/ListenerDrawer/ListenerDrawer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
size="50%"
:z-index="1999"
class="listener-drawer"
destroy-on-close
>
<el-form
label-position="top"
Expand Down
1 change: 1 addition & 0 deletions src/hooks/Config/useListenerDialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ export default (props: Props, emit: Emit): UseListenerDialogReturns => {
} else {
// for prevent form throw error
listenerRecord.value = createRawListener()
listenerCustomConfigs.value = {}
isLoading.value = false
}
})
Expand Down

0 comments on commit 531cfd5

Please sign in to comment.