fix(测试跟踪): 模块树交互问题

--bug=1033817 --user=宋昌昌 【测试跟踪】测试计划-重命名自定义模块-复制部分名称-点击添加子模块-提示名称不能为空-未显示子模块添加输入框 https://www.tapd.cn/55049933/s/1480983
This commit is contained in:
song-cc-rock 2024-03-26 14:55:29 +08:00 committed by 刘瑞斌
parent 57011d5ce4
commit 1f0e657511
1 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@
v-if="data.id && !isDefault(data) && !hideNodeOperator" v-if="data.id && !isDefault(data) && !hideNodeOperator"
:content="$t('test_track.module.add_submodule')" :content="$t('test_track.module.add_submodule')"
placement="top"> placement="top">
<el-button class="node-operate-btn" @click.stop="append(node, data)" :disabled="appendChildDisable" icon="el-icon-plus"/> <el-button class="node-operate-btn" @click.stop="append(node, data)" v-if="!appendChildDisable" icon="el-icon-plus"/>
</el-tooltip> </el-tooltip>
<el-button v-if="!data.id" class="node-operate-btn" @click="remove(node, data)" icon="el-icon-delete"/> <el-button v-if="!data.id" class="node-operate-btn" @click="remove(node, data)" icon="el-icon-delete"/>
@ -142,7 +142,7 @@
v-if="data.id && !isDefault(data) && !hideNodeOperator" v-if="data.id && !isDefault(data) && !hideNodeOperator"
:content="$t('test_track.module.add_submodule')" :content="$t('test_track.module.add_submodule')"
placement="top" :case-num="getCaseNum(data)"> placement="top" :case-num="getCaseNum(data)">
<el-button class="node-operate-btn" @click.stop="append(node, data)" :disabled="appendChildDisable" icon="el-icon-plus"/> <el-button class="node-operate-btn" @click.stop="append(node, data)" v-if="!appendChildDisable" icon="el-icon-plus"/>
</el-tooltip> </el-tooltip>
<el-button v-if="!data.id" class="node-operate-btn" @click="remove(node, data)" icon="el-icon-delete"/> <el-button v-if="!data.id" class="node-operate-btn" @click="remove(node, data)" icon="el-icon-delete"/>