mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
UI fix message.add.vpn.customer.gateway.failed when catched error (#6493)
* UI fix message.add.vpn.customer.gateway.failed when catched error * fix UI VPC add ACL without required input close ui Without any input, click ok button then close the ui . We need display ui to confirm all required input. * remove commented line
This commit is contained in:
parent
739be5d002
commit
aee7bb9e34
@ -341,7 +341,7 @@ export default {
|
|||||||
this.formRef.value.resetFields()
|
this.formRef.value.resetFields()
|
||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
console.error(error)
|
console.error(error)
|
||||||
this.$message.error(this.$t('message.success.add.vpn.customer.gateway'))
|
this.$message.error(this.$t('message.add.vpn.customer.gateway.failed'))
|
||||||
this.isSubmitted = false
|
this.isSubmitted = false
|
||||||
})
|
})
|
||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
|
|||||||
@ -822,7 +822,6 @@ export default {
|
|||||||
handleNetworkAclFormSubmit () {
|
handleNetworkAclFormSubmit () {
|
||||||
if (this.fetchLoading) return
|
if (this.fetchLoading) return
|
||||||
this.fetchLoading = true
|
this.fetchLoading = true
|
||||||
this.modals.networkAcl = false
|
|
||||||
|
|
||||||
this.formRef.value.validate().then(() => {
|
this.formRef.value.validate().then(() => {
|
||||||
const values = toRaw(this.form)
|
const values = toRaw(this.form)
|
||||||
@ -852,6 +851,7 @@ export default {
|
|||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
this.$notifyError(error)
|
this.$notifyError(error)
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
|
this.modals.networkAcl = false
|
||||||
this.fetchLoading = false
|
this.fetchLoading = false
|
||||||
this.fetchAclList()
|
this.fetchAclList()
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user