diff --git a/src/components/Iconify/index.vue b/src/components/Iconify/index.vue index b5e8706..9b72a26 100644 --- a/src/components/Iconify/index.vue +++ b/src/components/Iconify/index.vue @@ -10,18 +10,18 @@ interface Props { icon: string size?: string | number - color?: string + className?: string } const props = withDefaults(defineProps(), { size: 'inherit', - color: 'inherit', + class: '', }); const iconSize = computed(() => (Number.isNaN(Number(props.size)) ? `${props.size}` : `${props.size}rpx`)); diff --git a/src/pages.json b/src/pages.json index a5a9108..9190da2 100644 --- a/src/pages.json +++ b/src/pages.json @@ -20,7 +20,7 @@ }, "meta": { "tabBar": true, - "ignoreAuth": true + "ignoreAuth": false } }, { diff --git a/src/pages/about/index.vue b/src/pages/about/index.vue index 01ea8cb..fc54f7a 100644 --- a/src/pages/about/index.vue +++ b/src/pages/about/index.vue @@ -4,7 +4,7 @@ import { useUserStore } from '@/stores/modules/user'; const router = useRouter(); const userStore = useUserStore(); -const { loginOrNot, userInfo } = storeToRefs(userStore); +const { isLogined, userInfo } = storeToRefs(userStore); function handleJump(url: string) { router.push(url); @@ -18,7 +18,7 @@ function handleLoginOut() {