fix(测试用例,接口定义,接口自动化): 默认添加的模块,不能编辑也不能删除。
This commit is contained in:
parent
015c665bcf
commit
a05d1a773a
|
@ -32,7 +32,7 @@
|
|||
|
||||
<span v-if="!disabled" class="node-operate child">
|
||||
<el-tooltip
|
||||
v-if="data.id != 'root' && data.id !='default-module'"
|
||||
v-if="data.id != 'root' && data.name !='默认模块'"
|
||||
class="item"
|
||||
effect="dark"
|
||||
:open-delay="200"
|
||||
|
@ -49,7 +49,7 @@
|
|||
<i @click.stop="append(node, data)" class="el-icon-circle-plus-outline"></i>
|
||||
</el-tooltip>
|
||||
<el-tooltip
|
||||
v-if="data.id != 'root' && data.id !='default-module'"
|
||||
v-if="data.id != 'root' && data.name !='默认模块'"
|
||||
class="item" effect="dark"
|
||||
:open-delay="200"
|
||||
:content="$t('commons.delete')"
|
||||
|
@ -230,7 +230,7 @@ export default {
|
|||
if (dropType === "none" || dropType === undefined) {
|
||||
return;
|
||||
}
|
||||
if (dropNode.data.id === 'root' && dropType === 'before') {
|
||||
if (dropNode.data.id === 'root' && dropType === 'before' || draggingNode.data.name==='默认模块') {
|
||||
this.$emit('refresh');
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue