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