去掉关注

This commit is contained in:
haomingming 2025-12-28 09:02:41 +08:00
parent 3a547c16de
commit 34a338fa55

View File

@ -22,35 +22,22 @@ function vote(){
// return
const token = localStorage.getItem('bearer-tokens');
if(typeof token === "undefined"||token ==null|| token == ""|| token == "undefined")
{
const ticket= localStorage.getItem('qr-tickets');
if(typeof ticket === "undefined"||ticket ==null|| ticket == ""|| ticket == "undefined")
{
if (typeof token === "undefined" || token == null || token == "" || token == "undefined") {
goAuth()
}
else
{
emits('vote-click',ticket)
localStorage.setItem('qr-tickets', "");
}
}
else
{
// const ticket = localStorage.getItem('qr-tickets');
// if (typeof ticket === "undefined" || ticket == null || ticket == "" || ticket == "undefined") {
// goAuth()
// }else {
// emits('vote-click', ticket)
// localStorage.setItem('qr-tickets', "");
// }
}else {
emits('vote-click', '1')
}
}
</script>
<style scoped>
.votbg {
height: 56px;
@ -69,5 +56,4 @@ font-style: normal;
}
</style>