diff --git a/frontend/src/business/components/api/definition/components/mock/TcpMockConfig.vue b/frontend/src/business/components/api/definition/components/mock/TcpMockConfig.vue index 7322592eea..c6f6df0e16 100644 --- a/frontend/src/business/components/api/definition/components/mock/TcpMockConfig.vue +++ b/frontend/src/business/components/api/definition/components/mock/TcpMockConfig.vue @@ -336,6 +336,7 @@ export default { }; } this.$nextTick(function () { + this.$refs.tcpParam.reload(); this.showHeadTable = true; }); }); diff --git a/frontend/src/business/components/api/definition/components/request/tcp/TcpParams.vue b/frontend/src/business/components/api/definition/components/request/tcp/TcpParams.vue index 02c8eeae43..c62a65736f 100644 --- a/frontend/src/business/components/api/definition/components/request/tcp/TcpParams.vue +++ b/frontend/src/business/components/api/definition/components/request/tcp/TcpParams.vue @@ -96,13 +96,7 @@ export default { watch:{ reportType(){ this.request.reportType = this.reportType; - }, - 'request.rawDataStruct'(){ - this.reload(); - }, - 'request.jsonDataStruct'(){ - this.reload(); - }, + } }, created() { this.currentProjectId = getCurrentProjectID();