feat:增加刷新功能

This commit is contained in:
2026-04-02 23:00:51 +08:00
parent ac914f6c05
commit 3e59b58f84

View File

@@ -1,7 +1,7 @@
<template>
<main class="mobile-home">
<div class="home-title">
<div class="title-container">
<div class="title-container" @click="titleClick">
<img :src="getAssetsImageFile('logo/logo.png')" alt="暂无图片" class="logo"/>
<span class="title">Sweet Hut</span>
</div>
@@ -76,6 +76,10 @@ import { useAppStore } from '@/store/app'
import { getAssetsImageFile } from '@/utils'
const appStore = useAppStore()
const titleClick = () => {
location.reload()
}
</script>
<style lang="scss">