This commit is contained in:
王一嘉
2025-07-24 16:03:29 +08:00
parent 0819032049
commit 7658c63b46

View File

@@ -1,6 +1,6 @@
<script setup> <script setup>
import XNav from "../../components/XNav.vue"; import XNav from "../../components/XNav.vue";
import {reactive} from "vue"; import {computed, reactive} from "vue";
import XInput from "../../components/XInput.vue"; import XInput from "../../components/XInput.vue";
import XLink from "../../components/XLink.vue"; import XLink from "../../components/XLink.vue";
import MessageCard from "../../components/MessageCard.vue"; import MessageCard from "../../components/MessageCard.vue";
@@ -9,7 +9,7 @@ import Api from "../../api/index.js";
import {useSystemStore} from "../../pinia/SystemStore/index.js"; import {useSystemStore} from "../../pinia/SystemStore/index.js";
const SystemStore = useSystemStore(); const SystemStore = useSystemStore();
const tabs = [ const tabs = computed(() => [
{ {
name: '任务消息', name: '任务消息',
num: SystemStore.messageCount.one, num: SystemStore.messageCount.one,
@@ -18,7 +18,7 @@ const tabs = [
name: '平台消息', name: '平台消息',
num: SystemStore.messageCount.two, num: SystemStore.messageCount.two,
}, },
]; ]);
const po = reactive({ const po = reactive({
type: 0, type: 0,