feat: 集成重新加载页面功能

This commit is contained in:
张传龙
2022-04-21 22:35:26 +08:00
parent 585bf4a4c4
commit 3c46d2c159
4 changed files with 43 additions and 8 deletions

View File

@@ -5,6 +5,15 @@
</template>
<script setup>
import { useAppStore } from '@/store/modules/app'
import { onMounted } from 'vue'
const appStore = useAppStore()
onMounted(() => {
$message.success('onMounted')
})
function handleLogin() {
$message.loading('登陆中...')
setTimeout(() => {