We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e9a8de commit 76138dfCopy full SHA for 76138df
ui/src/views/authentication/component/EditModal.vue
@@ -1,6 +1,6 @@
1
template
2
<template>
3
- <el-drawer v-model="visible" size="60%" :append-to-body="true">
+ <el-drawer v-model="visible" size="60%" :append-to-body="true" destroy-on-close>
4
<template #header>
5
<div class="flex align-center" style="margin-left: -8px">
6
<h4>{{ currentPlatform.name + '设置' }}</h4>
@@ -120,6 +120,7 @@ const open = async (platform: Platform) => {
120
default:
121
break
122
}
123
+ formRef.value?.clearValidate()
124
125
defineExpose({ open })
126
@@ -148,6 +149,7 @@ function saveConfig() {
148
149
MsgSuccess('保存成功')
150
151
visible.value = false
152
153
})
154
155
</script>
0 commit comments