|
@@ -20,6 +20,7 @@ export const permissionPopup = reactive({
|
|
const pageVisibility = usePageVisibility()
|
|
const pageVisibility = usePageVisibility()
|
|
watch(pageVisibility, async (value) => {
|
|
watch(pageVisibility, async (value) => {
|
|
if (value === "visible" && permissionPopup.show) {
|
|
if (value === "visible" && permissionPopup.show) {
|
|
|
|
+ permissionPopup.show = false
|
|
const res = await studentQueryUserInfo()
|
|
const res = await studentQueryUserInfo()
|
|
state.vipType = res.data.vipType
|
|
state.vipType = res.data.vipType
|
|
if (permissionPopup.active === 'member' && (state.vipType === 'VIP' || state.vipType.includes('SVIP'))) {
|
|
if (permissionPopup.active === 'member' && (state.vipType === 'VIP' || state.vipType.includes('SVIP'))) {
|