From a43321cad058e8fb410297ffb99a629b278f4e42 Mon Sep 17 00:00:00 2001 From: guoyuqi Date: Thu, 27 Jan 2022 14:52:47 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20gi?= =?UTF-8?q?thub#10172=EF=BC=8C=E5=AE=9A=E6=97=B6=E5=90=8C=E6=AD=A5?= =?UTF-8?q?=EF=BC=8C=E8=BF=9E=E7=BB=AD=E6=B7=BB=E5=8A=A0=E5=AE=9A=E6=97=B6?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=EF=BC=8C=E5=AF=BC=E5=85=A5=E6=A8=A1=E5=9D=97?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E4=BF=9D=E5=AD=98=E5=88=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1010046--user=郭雨琦 【ID1010046】【接口测试】github#10172,定时同步,连续添加定时任务,导入模块没有保存到 --- .../api/definition/components/import/ApiSchedule.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/frontend/src/business/components/api/definition/components/import/ApiSchedule.vue b/frontend/src/business/components/api/definition/components/import/ApiSchedule.vue index fa34125ebe..dc3d852693 100644 --- a/frontend/src/business/components/api/definition/components/import/ApiSchedule.vue +++ b/frontend/src/business/components/api/definition/components/import/ApiSchedule.vue @@ -305,6 +305,12 @@ export default { this.formData.enable = true; url = '/api/definition/schedule/create'; } + if(!this.formData.moduleId){ + console.log(this.$refs.selectTree.returnDataKeys) + if( this.$refs.selectTree.returnDataKeys.length>0){ + this.formData.moduleId = this.$refs.selectTree.returnDataKeys + } + } this.$post(url, this.formData, () => { this.$success(this.$t('commons.save_success')); this.$refs.taskList.search();