fix(接口定义): 修复xml断言无法手动添加正确的断言的缺陷

--bug=1019004 --user=王孝刚 【接口测试】文档结构断言-xml断言,无法手动添加正确的断言
https://www.tapd.cn/55049933/s/1279977
This commit is contained in:
wxg0103 2022-10-27 13:44:14 +08:00 committed by wxg0103
parent fe2e40c3df
commit 9c8d272e5b
1 changed files with 6 additions and 3 deletions

View File

@ -34,7 +34,10 @@
v-if="(scope.row.status && scope.column.fixed && scope.row.id!=='root') || (scope.row.type !=='object' && !scope.row.name)"
v-model="scope.row.name" style="width: 140px" size="mini"
:placeholder="$t('api_test.definition.request.esb_table.name')"/>
<span v-else>{{ scope.row.name }}</span>
<el-input v-else
:disabled=" document.type === 'JSON'"
v-model="scope.row.name" style="width: 140px" size="mini"
:placeholder="$t('api_test.definition.request.esb_table.name')"/>
</template>
</el-table-column>
@ -621,8 +624,8 @@ export default {
},
removeTableRow(row) {
this.removeVerSet(this.mapData.get(row.parentId), row);
this.removeFromDataStruct(this.mapData.get(row.parentId), row);
this.removeVerSet(this.mapData.get(row.parentId) ? this.mapData.get(row.parentId) : this.tableData, row);
this.removeFromDataStruct(this.mapData.get(row.parentId) ? this.mapData.get(row.parentId) : this.tableData, row);
},
removeFromDataStruct(dataStruct, row) {
if (dataStruct == null || dataStruct.length === 0) {