From 464dc06d4f9d227bd8c300097af930b847d4d97a Mon Sep 17 00:00:00 2001
From: wpf <2187978347@qq.com>
Date: Mon, 4 Sep 2023 23:14:33 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=8A=82=E6=B5=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
config/app.js | 8 ++++----
subpkg/updateArchives/updateArchives.vue | 6 +++---
2 files changed, 7 insertions(+), 7 deletions(-)
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 d987dff..2c89515 100644
--- a/subpkg/updateArchives/updateArchives.vue
+++ b/subpkg/updateArchives/updateArchives.vue
@@ -55,7 +55,7 @@
keyName="name" @change="changeHandler" @cancel="demandShow = false" @confirm="changeDemand">
-
+
@@ -145,7 +145,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;
@@ -170,7 +170,7 @@
}, 1000)
}
})
- }, 1000),
+ },
// 获取组件数据
async loadRefsDatas() {
this.updateFlag = true;