fix(接口测试): 修复TCP Mock期望请求内容不能正常编辑问题 (#5707)

Co-authored-by: BugKing <wangzhen@fit2cloud.com>
This commit is contained in:
metersphere-bot 2021-08-25 22:47:50 +08:00 committed by GitHub
parent 4d562bb1ad
commit 36860f4eeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 7 deletions

View File

@ -336,6 +336,7 @@ export default {
}; };
} }
this.$nextTick(function () { this.$nextTick(function () {
this.$refs.tcpParam.reload();
this.showHeadTable = true; this.showHeadTable = true;
}); });
}); });

View File

@ -96,13 +96,7 @@ export default {
watch:{ watch:{
reportType(){ reportType(){
this.request.reportType = this.reportType; this.request.reportType = this.reportType;
}, }
'request.rawDataStruct'(){
this.reload();
},
'request.jsonDataStruct'(){
this.reload();
},
}, },
created() { created() {
this.currentProjectId = getCurrentProjectID(); this.currentProjectId = getCurrentProjectID();