1.修改部分问题(路线等问题)
2.添加定时器
This commit is contained in:
2025-07-08 17:32:13 +08:00
parent 67a2ea75d1
commit 726bd19ad3
11 changed files with 321 additions and 79 deletions
+13 -1
View File
@@ -126,14 +126,26 @@
import WeightPng from '/@/assets/indexSun/weightClock.png';
import FatPng from '/@/assets/indexSun/fatClock.png';
import BloodPng from '/@/assets/indexSun/bloodClock.png';
import { onMounted, ref } from 'vue';
import { onMounted, ref, watch } from 'vue';
import { twoRApi } from '/@/views/indexSun/indexSun.api.ts';
const twoRList = ref();
const emit = defineEmits(['handleClick']);
const props = defineProps({
bKey: {
type: Number,
default: () => 0,
},
});
onMounted(() => {
getList();
});
watch(props, () => {
getList();
});
function getList() {
twoRApi({}).then((res) => {
if (res.code == 200) {