去掉关注

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