mirror of
https://github.com/jumpserver/lina.git
synced 2025-04-27 11:10:51 +00:00
fix: Fixed the issue where the drawer would close when updating the cloud account
This commit is contained in:
parent
67eb359f15
commit
26f5516398
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="item-info">
|
||||
<el-row>
|
||||
<el-col v-for="item of infos" :key="item.content" :span="12" class="panel-item">
|
||||
<el-col v-for="(item, i) of infos" :key="i" :span="12" class="panel-item">
|
||||
<small class="item-label">{{ item.title }}</small>
|
||||
<h4 class="item-value">{{ item.content }}</h4>
|
||||
</el-col>
|
||||
|
@ -175,18 +175,16 @@ export default {
|
||||
form.validate((valid) => {
|
||||
if (valid) {
|
||||
btn.loading = true
|
||||
this.$refs.form.$refs.form.dataForm.submitForm('form', false)
|
||||
if (this.origin === 'update') {
|
||||
setTimeout(() => {
|
||||
this.$emit('submitSuccess')
|
||||
this.$emit('update:visible', false)
|
||||
}, 500)
|
||||
}
|
||||
this.submitType = submitType
|
||||
}
|
||||
})
|
||||
|
||||
this.$refs.form.$refs.form.dataForm.submitForm('form', false)
|
||||
|
||||
if (this.origin === 'update') {
|
||||
setTimeout(() => {
|
||||
this.$emit('submitSuccess')
|
||||
this.$emit('update:visible', false)
|
||||
}, 500)
|
||||
}
|
||||
this.submitType = submitType
|
||||
},
|
||||
handleSubmitSuccess(res) {
|
||||
if (this.submitType === 'manual') {
|
||||
|
Loading…
Reference in New Issue
Block a user