查询次数,第一次不准
This commit is contained in:
@@ -390,7 +390,7 @@ const unsubmit = () => {
|
|||||||
isStart: false,
|
isStart: false,
|
||||||
country: countryData.value,
|
country: countryData.value,
|
||||||
tenantId: getUser().tenantId,
|
tenantId: getUser().tenantId,
|
||||||
userId: getUser().userId,
|
userId: getUser().id,
|
||||||
})).then((res) => {
|
})).then((res) => {
|
||||||
pauseTimer();
|
pauseTimer();
|
||||||
pyData.value.isStart = true;
|
pyData.value.isStart = true;
|
||||||
@@ -472,15 +472,17 @@ function getloginStatusCopy() {
|
|||||||
|
|
||||||
function tkaccountuse(id, index) {
|
function tkaccountuse(id, index) {
|
||||||
let num = 0;
|
let num = 0;
|
||||||
if (id || id == '') {
|
console.log(id, index, "查询次数")
|
||||||
|
if (!id || id == '') {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
tkaccountuseinfo(id).then((res) => {
|
tkaccountuseinfo(id).then((res) => {
|
||||||
if (res) {
|
console.log("查询返回", res)
|
||||||
num = res
|
num = res
|
||||||
tkData.value[index].num = num
|
tkData.value[index].num = num
|
||||||
console.log('账号使用次数', tkData.value[index].num)
|
setTkUser(tkData.value)
|
||||||
}
|
console.log('账号使用次数', tkData.value[index].num)
|
||||||
|
// ElMessage.error('账号使用次数', tkData.value[index].num);
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
console.log('账号使用次数', err)
|
console.log('账号使用次数', err)
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user