czh-20260624-过滤admin账户;首页增加刷新按钮

This commit is contained in:
zhihao
2026-06-24 15:33:10 +08:00
parent 7dc302fed0
commit 3529487956
5 changed files with 57 additions and 15 deletions
+5 -2
View File
@@ -2,15 +2,18 @@
<template>
<div class="process-portal">
<WelcomeBanner />
<StatCards />
<MyWork />
<StatCards ref="statCardsRef" />
<MyWork @refresh="statCardsRef?.refresh()" />
</div>
</template>
<script lang="ts" setup>
import { ref } from 'vue';
import WelcomeBanner from './components/WelcomeBanner.vue';
import StatCards from './components/StatCards.vue';
import MyWork from './components/MyWork.vue';
const statCardsRef = ref<InstanceType<typeof StatCards> | null>(null);
</script>
<style lang="less" scoped>