mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-02 12:09:13 +08:00
fix(接口测试): github#10172,定时同步,连续添加定时任务,导入模块没有保存到
--bug=1010046--user=郭雨琦 【ID1010046】【接口测试】github#10172,定时同步,连续添加定时任务,导入模块没有保存到
This commit is contained in:
parent
489aaa39e0
commit
a43321cad0
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user