File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 207207
208208 <a-modal
209209 :title =" $t('label.configure.sticky.policy')"
210- v-model =" stickinessModalVisible"
210+ :visible =" stickinessModalVisible"
211211 :footer =" null"
212212 :afterClose =" closeModal"
213213 :maskClosable =" false"
288288
289289 <div :span =" 24" class =" action-button" >
290290 <a-button @click =" stickinessModalVisible = false" >{{ $t('label.cancel') }}</a-button >
291- <a-button type =" primary" @ submit =" handleSubmitStickinessForm" >{{ $t('label.ok') }}</a-button >
291+ <a-button type =" primary" ref = " submit" @click =" handleSubmitStickinessForm" >{{ $t('label.ok') }}</a-button >
292292 </div >
293293 </a-form >
294294 </a-modal >
@@ -890,6 +890,8 @@ export default {
890890 })
891891 }).catch (error => {
892892 this .$notifyError (error)
893+ }).finally (() => {
894+ this .closeModal ()
893895 })
894896 },
895897 handleDeleteStickinessPolicy () {
@@ -962,6 +964,7 @@ export default {
962964 })
963965 },
964966 handleStickinessMethodSelectChange (e ) {
967+ this .stickinessPolicyForm .resetFields ()
965968 this .stickinessPolicyMethod = e
966969 },
967970 handleDeleteInstanceFromRule (instance , rule , ip ) {
You can’t perform that action at this time.
0 commit comments