查询次数bug

This commit is contained in:
2025-07-25 19:26:10 +08:00
parent 7148322bd4
commit f5dc71d343
2 changed files with 9 additions and 4 deletions

View File

@@ -18,12 +18,12 @@ if (process.env.NODE_ENV === 'development') {
// 生产环境 // 生产环境
// baseURL = "https://api.tkpage.yolozs.com" // baseURL = "https://api.tkpage.yolozs.com"
// baseURL = "http://192.168.1.174:8101" // baseURL = "http://192.168.1.174:8101"
baseURL = "http://47.79.98.113:8101" baseURL = "https://crawlclient.api.yolozs.com"
} else { } else {
// 测试环境 // 测试环境
// baseURL = "http://120.26.251.180:8085/" // 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" // baseURL = "http://api.tkpage.vvtiktok.cn"
} }

View File

@@ -58,7 +58,9 @@
<div style="margin-right: 120px;">{{ $t('workbenchesSetup.workbenches') }}:{{ <div style="margin-right: 120px;">{{ $t('workbenchesSetup.workbenches') }}:{{
locale == 'zh' ? countryData : countryDataEN }} locale == 'zh' ? countryData : countryDataEN }}
<!-- <el-button class="reset-button" @click="reset">重置数据</el-button> --> <!-- <el-button class="reset-button" @click="reset">重置数据</el-button> -->
<!-- <el-button class="reset-button" @click="getIpInfo">刷新</el-button>s -->
</div> </div>
</div> </div>
</template> </template>
<el-row :gutter="24"> <el-row :gutter="24">
@@ -129,7 +131,7 @@
</el-row> </el-row>
<div style="margin-top: 20px; text-align: center"> <div style="margin-top: 20px; text-align: center">
<el-button class="submit-button" :disabled="submitting" v-show="pyData.isStart" type="primary" <el-button class="submit-button" :disabled="false" v-show="pyData.isStart" type="primary"
@click="submit">{{ @click="submit">{{
$t('workbenchesSetup.start') }}</el-button> $t('workbenchesSetup.start') }}</el-button>
<el-button v-show="!pyData.isStart" type="danger" @click="unsubmit">{{ <el-button v-show="!pyData.isStart" type="danger" @click="unsubmit">{{
@@ -340,7 +342,7 @@ const submit = () => {
isStart: true, isStart: true,
country: countryData.value, country: countryData.value,
tenantId: getUser().tenantId, tenantId: getUser().tenantId,
userId: getUser().userId, userId: getUser().id,
})).then((res) => { })).then((res) => {
//开始计时器 //开始计时器
startTimer(); startTimer();
@@ -470,6 +472,9 @@ function getloginStatusCopy() {
function tkaccountuse(id, index) { function tkaccountuse(id, index) {
let num = 0; let num = 0;
if (id || id == '') {
return
}
tkaccountuseinfo(id).then((res) => { tkaccountuseinfo(id).then((res) => {
if (res) { if (res) {
num = res num = res