收藏内容
This commit is contained in:
parent
3e9b694730
commit
b1102dbca3
@ -179,11 +179,9 @@ const ifBook = async () => {
|
|||||||
console.log(data2)
|
console.log(data2)
|
||||||
console.log(data2.total)
|
console.log(data2.total)
|
||||||
if (data2.total>0){
|
if (data2.total>0){
|
||||||
console.log("11111")
|
|
||||||
starId.value = data2.list[0].id
|
starId.value = data2.list[0].id
|
||||||
data2.total === 0?ys.value=false:ys.value=true
|
data2.total === 0?ys.value=false:ys.value=true
|
||||||
}else if(data2.total===0){
|
}else if(data2.total===0){
|
||||||
console.log("22222")
|
|
||||||
ys.value=false
|
ys.value=false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user