From f5dc71d343a76e865ab4abb22ad7a61a38c7f6e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=A1=E5=A4=8D=E4=B9=A0?= <2353956224@qq.com> Date: Fri, 25 Jul 2025 19:26:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E6=AC=A1=E6=95=B0bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/axios.js | 4 ++-- src/views/hosts/workbenches.vue | 9 +++++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/utils/axios.js b/src/utils/axios.js index b93e22e..079be56 100644 --- a/src/utils/axios.js +++ b/src/utils/axios.js @@ -18,12 +18,12 @@ if (process.env.NODE_ENV === 'development') { // 生产环境 // baseURL = "https://api.tkpage.yolozs.com" // baseURL = "http://192.168.1.174:8101" - baseURL = "http://47.79.98.113:8101" + baseURL = "https://crawlclient.api.yolozs.com" } else { // 测试环境 // baseURL = "http://120.26.251.180:8085/" // 开发环境 - baseURL = "http://47.79.98.113:8101" + baseURL = "https://crawlclient.api.yolozs.com" // baseURL = "http://api.tkpage.vvtiktok.cn" } diff --git a/src/views/hosts/workbenches.vue b/src/views/hosts/workbenches.vue index 4fb7888..0d1b2c4 100644 --- a/src/views/hosts/workbenches.vue +++ b/src/views/hosts/workbenches.vue @@ -58,7 +58,9 @@
{{ $t('workbenchesSetup.workbenches') }}:{{ locale == 'zh' ? countryData : countryDataEN }} +
+ @@ -129,7 +131,7 @@
- {{ $t('workbenchesSetup.start') }} {{ @@ -340,7 +342,7 @@ const submit = () => { isStart: true, country: countryData.value, tenantId: getUser().tenantId, - userId: getUser().userId, + userId: getUser().id, })).then((res) => { //开始计时器 startTimer(); @@ -470,6 +472,9 @@ function getloginStatusCopy() { function tkaccountuse(id, index) { let num = 0; + if (id || id == '') { + return + } tkaccountuseinfo(id).then((res) => { if (res) { num = res