feat:增加刷新功能
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user