Commit 69abdf4b authored by Jingyu FENG's avatar Jingyu FENG Committed by GitHub
Browse files

Merge pull request #1909 from WeBankPartners/1907_bug_fix

#1907 Bug fix
parents c46cd28e b930a9cb
Showing with 2 additions and 3 deletions
+2 -3
......@@ -332,7 +332,7 @@
<Modal
v-model="configTreeManageModal"
width="700"
:title="$t('edit_config_role')"
:title="$t('batch_regist')"
:mask-closable="false"
@on-ok="setConfigTreeHandler"
@on-cancel="closeTreeModal"
......@@ -477,7 +477,6 @@ export default {
},
methods: {
async setConfigTreeHandler () {
console.log(this.$refs.configTree)
const payload = this.$refs.configTree.data.map(_ => {
return {
..._,
......@@ -491,7 +490,7 @@ export default {
})
const { status } = await updateConfigStatus(this.pkgId, payload)
if (status === 'OK') {
this.getAllPluginByPkgId()
await this.getAllPluginByPkgId()
if (this.currentPlugin) {
this.getInterfacesByPluginConfigId(this.currentPlugin)
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment