去掉关注
This commit is contained in:
parent
3a547c16de
commit
34a338fa55
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user