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()
|
||||
}).catch(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
|
||||
})
|
||||
}).catch(error => {
|
||||
|
||||
@ -822,7 +822,6 @@ export default {
|
||||
handleNetworkAclFormSubmit () {
|
||||
if (this.fetchLoading) return
|
||||
this.fetchLoading = true
|
||||
this.modals.networkAcl = false
|
||||
|
||||
this.formRef.value.validate().then(() => {
|
||||
const values = toRaw(this.form)
|
||||
@ -852,6 +851,7 @@ export default {
|
||||
}).catch(error => {
|
||||
this.$notifyError(error)
|
||||
}).finally(() => {
|
||||
this.modals.networkAcl = false
|
||||
this.fetchLoading = false
|
||||
this.fetchAclList()
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user