fix(接口测试): 修复场景禁用mqtt步骤保存后未生效的缺陷
--bug=1012674 --user=王孝刚 【接口测试】MQTT协议场景-禁用Sub请求失败-看附件视频 https://www.tapd.cn/55049933/s/1146673
This commit is contained in:
parent
e2709ece6f
commit
952d9741d2
|
@ -419,6 +419,9 @@ export default {
|
||||||
deleteResourceIds(array) {
|
deleteResourceIds(array) {
|
||||||
if (array instanceof Array && array.length > 0) {
|
if (array instanceof Array && array.length > 0) {
|
||||||
array.forEach(item => {
|
array.forEach(item => {
|
||||||
|
if (item.currentScenarioId && item.currentScenarioId.length > 0) {
|
||||||
|
delete item.currentScenarioId;
|
||||||
|
}
|
||||||
if (item.resourceId) {
|
if (item.resourceId) {
|
||||||
delete item.resourceId;
|
delete item.resourceId;
|
||||||
}
|
}
|
||||||
|
|
|
@ -257,8 +257,11 @@ export default {
|
||||||
},
|
},
|
||||||
deep: true
|
deep: true
|
||||||
},
|
},
|
||||||
'request.name'() {
|
request: {
|
||||||
this.data.name = this.request.name
|
handler(v) {
|
||||||
|
this.data = this.request
|
||||||
|
},
|
||||||
|
deep: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
Loading…
Reference in New Issue