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) {
|
||||
if (array instanceof Array && array.length > 0) {
|
||||
array.forEach(item => {
|
||||
if (item.currentScenarioId && item.currentScenarioId.length > 0) {
|
||||
delete item.currentScenarioId;
|
||||
}
|
||||
if (item.resourceId) {
|
||||
delete item.resourceId;
|
||||
}
|
||||
|
|
|
@ -257,8 +257,11 @@ export default {
|
|||
},
|
||||
deep: true
|
||||
},
|
||||
'request.name'() {
|
||||
this.data.name = this.request.name
|
||||
request: {
|
||||
handler(v) {
|
||||
this.data = this.request
|
||||
},
|
||||
deep: true
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
Loading…
Reference in New Issue