fix(接口测试): 修复引用的xpath断言未加操作控制问题

--bug=1027963 --user=赵勇 【接口测试】场景详情-引用的场景和CASE-断言xpath可下拉切换类型 https://www.tapd.cn/55049933/s/1394859

Signed-off-by: fit2-zhao <yong.zhao@fit2cloud.com>
This commit is contained in:
fit2-zhao 2023-07-18 19:19:33 +08:00 committed by fit2-zhao
parent f1745bf26d
commit bde2a76e88
2 changed files with 3 additions and 2 deletions

View File

@ -27,7 +27,8 @@
<div class="assertion-item-editing x_path" v-if="assertions.xpath2.length > 0">
<div>
XPath
<el-select v-model="assertions.xpathType" size="mini" v-loading="loading" @change="reload">
<el-select v-model="assertions.xpathType" size="mini" v-loading="loading" @change="reload"
:disabled="isReadOnly && !assertions.document.label">
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value"></el-option>
</el-select>
<el-tooltip placement="top">

View File

@ -35,7 +35,7 @@
<div class="extract-item-editing xpath" v-if="extract.xpath.length > 0">
<div>
XPath
<el-select v-model="extract.xpathType" size="mini" v-loading="loading" @change="reload">
<el-select v-model="extract.xpathType" size="mini" v-loading="loading" @change="reload" :disabled="isReadOnly">
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value"></el-option>
</el-select>
<el-tooltip placement="top">