"更新页面标题和内容,移除不必要的刷新按钮和相关逻辑"

This commit is contained in:
ivamp 2024-08-04 17:24:27 +08:00
parent dcbb488752
commit 4439b142e3
2 changed files with 4 additions and 34 deletions

View File

@ -1,6 +1,6 @@
<template>
<div>
<h1>Login</h1>
<h1>请稍等片刻</h1>
</div>
</template>

View File

@ -1,36 +1,6 @@
<template>
<div>index</div>
<div>index</div>
<div>index</div>
<div>index</div>
<div>index</div>
<div>index</div>
<div>index</div>
<div>index</div>
<div>index</div>
<div>index</div>
<div>index</div>
<div>index</div>
<div>index</div>
<div>index</div>
<div>index</div>
<div>index</div>
<div>index</div>
<div>index</div>
<div>index</div>
<div>index</div>
<button @click="refresh">refresh</button>
<h2>欢迎使用 Leaflow Amber</h2>
<p>Amber 是一个临时代号这个为 demo 版本</p>
</template>
<script lang="ts" setup>
import { useUserStore } from "@/stores/user";
console.log("this is index");
const userStore = useUserStore();
function refresh() {
userStore.refresh();
console.log("refresh");
}
</script>
<script lang="ts" setup></script>