diff --git a/src/layout/header/headerSetting.tsx b/src/layout/header/headerSetting.tsx index df52570..ad678c8 100644 --- a/src/layout/header/headerSetting.tsx +++ b/src/layout/header/headerSetting.tsx @@ -12,11 +12,10 @@ export default defineComponent(() => { const router = useRouterStore() const { profile } = useUserStore() const layout = useLayoutStore() - const inputRef = ref() const isGame = computed(() => { return layout.state.current === 0 }) - const list = Array.from({ length: 9 }).map((_, index) => `${ossBase}/admin/${index + 1}.png`) + const list = Array.from({ length: 10 }).map((_, index) => `${ossBase}/admin/${index + 1}.png`) const selectUrl = ref(profile.avatar) const customHeader = ref(profile.avatar) diff --git a/src/widgets/discount/Large.tsx b/src/widgets/discount/Large.tsx index 2980098..592cc19 100644 --- a/src/widgets/discount/Large.tsx +++ b/src/widgets/discount/Large.tsx @@ -31,7 +31,7 @@ export default defineComponent(() => { } >
- {selectItem.value.name} + {selectItem.value?.name}
{ > game icon
- {item.name} + {item?.name} - {item.des} + {item?.des}