"更新页面标题和内容,移除不必要的刷新按钮和相关逻辑"
This commit is contained in:
parent
dcbb488752
commit
4439b142e3
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div>
|
||||
<h1>Login</h1>
|
||||
<h1>请稍等片刻</h1>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user