update: 大屏接口

This commit is contained in:
xf
2025-07-09 17:30:39 +08:00
parent 055e28b457
commit cd1b085499
5 changed files with 22 additions and 20 deletions
+4 -1
View File
@@ -128,6 +128,9 @@
import BloodPng from '/@/assets/indexSun/bloodClock.png';
import { onMounted, ref, watch } from 'vue';
import { twoRApi } from '/@/views/indexSun/indexSun.api.ts';
import { useUserStore } from '/@/store/modules/user.ts';
const { getCenterInfo } = useUserStore();
const twoRList = ref();
const emit = defineEmits(['handleClick']);
@@ -150,7 +153,7 @@
});
function getList() {
twoRApi({ centerId: props.centerId })
twoRApi({ centerId: getCenterInfo?.id })
.then((res: any) => {
if (res.code == 200) {
localStorage.removeItem('twoRList');