@@ -52,6 +52,11 @@
toast,
getUserIdentity
} from "@/utils/common";
+ import {
+ onShow
+ } from '@dcloudio/uni-app';
+ const growthType = ref(null);
+ onShow(() => growthType.value = cacheManager.get('auth').growthType)
const $emit = defineEmits(['clickGradeTerm', 'onLeft', 'onRight', 'handleCheckCatalogue', 'listClick'])
const props = defineProps({
options: {
@@ -59,7 +64,6 @@
},
})
const isVip = getUserIdentity();
- const growthType = cacheManager.get('auth').growthType;
const gradeMapping = {
1: '一年级',
2: '二年级',
@@ -59,6 +59,12 @@
+
@@ -66,7 +72,6 @@