Browse Source

截止时间更改 token转码

yjt
ting 4 months ago
parent
commit
294dc2bd2d
  1. 1
      src/views/BackView.vue
  2. 4
      src/views/FrontView.vue

1
src/views/BackView.vue

@ -13,6 +13,7 @@ function getToken() {
if (parts.length > 1) { if (parts.length > 1) {
token = parts[1].split("&")[0]; // & token = parts[1].split("&")[0]; // &
} }
token = decodeURIComponent(token);
console.log("token字符串:", token); // token console.log("token字符串:", token); // token
} }

4
src/views/FrontView.vue

@ -14,8 +14,8 @@ function getToken() {
if (parts.length > 1) { if (parts.length > 1) {
token = parts[1].split("&")[0]; // & token = parts[1].split("&")[0]; // &
} }
token = decodeURIComponent(token);
console.log("token字符串:",token); // token console.log("token字符串:",token); // token
} }
getToken(); getToken();
@ -227,7 +227,7 @@ function vote(code) {
</div> </div>
</div> </div>
<div class="footer">-以上数据截至至2025年1月2日-</div>
<div class="footer">-以上数据截至至2025年2月4-</div>
</div> </div>
</div> </div>
</template> </template>

Loading…
Cancel
Save