diff --git a/config/app.js b/config/app.js index a1fa4ae..c9887f4 100644 --- a/config/app.js +++ b/config/app.js @@ -2,14 +2,14 @@ let httpApiThree; let httpApi; // 正式使用的域名 -httpApi = 'https://ceshi-worker-task.lihaink.cn' //测试 +// httpApi = 'https://ceshi-worker-task.lihaink.cn' //测试 // httpApi = 'https://preview-worker-task.lihaink.cn' //预上线 -// httpApi = 'https://worker-task.lihaink.cn' //正式 +httpApi = 'https://worker-task.lihaink.cn' //正式 -httpApiThree = 'https://ceshi-worker-task.lihaink.cn' //测试 +// httpApiThree = 'https://ceshi-worker-task.lihaink.cn' //测试 // httpApiThree = 'https://preview-worker-task.lihaink.cn' //预上线 -// httpApiThree = 'https://worker-task.lihaink.cn' //正式 +httpApiThree = 'https://worker-task.lihaink.cn' //正式 // #ifdef H5 // httpApiThree = 'baseUrlTest' //生产 // #endif diff --git a/subpkg/updateArchives/updateArchives.vue b/subpkg/updateArchives/updateArchives.vue index b742e6d..8ae0506 100644 --- a/subpkg/updateArchives/updateArchives.vue +++ b/subpkg/updateArchives/updateArchives.vue @@ -55,7 +55,7 @@ keyName="name" @change="changeHandler" @cancel="demandShow = false" @confirm="changeDemand"> - + @@ -149,7 +149,7 @@ this.formData = res.data; }, // 更新档案 - addArchives: throttle(async function() { + async addArchives() { if (this.showDemandList.length == 0) return Toast('请先添加需求!'); let refsDatas = await this.loadRefsDatas(); if (!this.updateFlag) return; @@ -174,7 +174,7 @@ }, 1000) } }) - }, 1000), + }, // 获取组件数据 async loadRefsDatas() { this.updateFlag = true;