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