fix(接口测试): 定时同步导入Swagger接口的任务通知保存问题

--bug=1015241 --user=李玉号 【接口测试】接口定义-定时同步导入Swagger 接口-修改任务通知保存时实际上该通知被删除
https://www.tapd.cn/55049933/s/1210101
This commit is contained in:
shiziyuan9527 2022-07-25 15:23:41 +08:00 committed by shiziyuan9527
parent 51f654b0d3
commit 3303e8c6bc
2 changed files with 1 additions and 1 deletions

View File

@ -151,6 +151,7 @@ public class NoticeService {
messageDetail.setWebhook(m.getWebhook()); messageDetail.setWebhook(m.getWebhook());
messageDetail.setIdentification(m.getIdentification()); messageDetail.setIdentification(m.getIdentification());
messageDetail.setType(m.getType()); messageDetail.setType(m.getType());
messageDetail.setTestId(m.getTestId());
messageDetail.setIsSet(m.getIsSet()); messageDetail.setIsSet(m.getIsSet());
messageDetail.setCreateTime(m.getCreateTime()); messageDetail.setCreateTime(m.getCreateTime());
messageDetail.setTemplate(m.getTemplate()); messageDetail.setTemplate(m.getTemplate());

View File

@ -84,7 +84,6 @@ export default {
initForm() { initForm() {
this.result = this.$get('/notice/search/message/' + this.apiTestId, response => { this.result = this.$get('/notice/search/message/' + this.apiTestId, response => {
this.scheduleTask = response.data; this.scheduleTask = response.data;
this.scheduleTask.testId = this.apiTestId;
}); });
}, },
handleAddTaskModel() { handleAddTaskModel() {