fix(测试跟踪): 模板管理切换tab,表格错位
--bug=1033609 --user=陈建星 【项目设置】模版管理tab页切换-操作列显示错乱 https://www.tapd.cn/55049933/s/1445447
This commit is contained in:
parent
88ccf74d67
commit
ab8607555f
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<el-card>
|
||||
<el-tabs class="system-setting" v-model="activeName" @change="changeTab">
|
||||
<el-tabs v-if="visible" class="system-setting" v-model="activeName" @change="changeTab">
|
||||
<el-tab-pane :label="$t('custom_field.name')" name="field" v-if="fieldEnable">
|
||||
<custom-field-list v-if="activeName === 'field'"/>
|
||||
</el-tab-pane>
|
||||
|
@ -33,11 +33,16 @@ export default {
|
|||
fieldEnable: false,
|
||||
caseTemplateEnable: false,
|
||||
issueTemplateEnable: false,
|
||||
apiTemplateEnable: false
|
||||
apiTemplateEnable: false,
|
||||
visible: true
|
||||
};
|
||||
},
|
||||
created() {
|
||||
this.changeTab();
|
||||
activated() {
|
||||
this.visible = false;
|
||||
this.$nextTick(() => {
|
||||
this.visible = true;
|
||||
this.changeTab();
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
hasPermissions,
|
||||
|
|
Loading…
Reference in New Issue