|
@@ -39,7 +39,8 @@ import {
|
|
|
getAuth,
|
|
|
getGradeCh,
|
|
|
getSecondRPM,
|
|
|
- removeAuth
|
|
|
+ removeAuth,
|
|
|
+ setAuth
|
|
|
} from '@/helpers/utils'
|
|
|
import { postMessage, promisefiyPostMessage } from '@/helpers/native-message'
|
|
|
import { onBeforeRouteUpdate, useRoute, useRouter } from 'vue-router'
|
|
@@ -120,6 +121,10 @@ export default defineComponent({
|
|
|
const {playStaff, pauseStaff, updateProgressStaff} = staffMoveInstance()
|
|
|
// 点赞
|
|
|
const onStarChange = async () => {
|
|
|
+ const Authorization = getAuth()
|
|
|
+ if (!Authorization && route.query.Authorization) {
|
|
|
+ setAuth(route.query.Authorization)
|
|
|
+ }
|
|
|
await checkLogin();
|
|
|
// 是否登录
|
|
|
if (!state.loginTag) {
|