update
1.修改庆阳大屏
This commit is contained in:
@@ -144,12 +144,12 @@
|
||||
const interval = ref<any>(null);
|
||||
const nowDate = ref(dayjs());
|
||||
onMounted(() => {
|
||||
interval.value = setInterval(() => {
|
||||
if (dayjs(nowDate.value).diff(dayjs(), 'date') < 0) {
|
||||
nowDate.value = dayjs();
|
||||
getScrollList();
|
||||
}
|
||||
}, 1000);
|
||||
// interval.value = setInterval(() => {
|
||||
// if (dayjs(nowDate.value).diff(dayjs(), 'date') < 0) {
|
||||
// nowDate.value = dayjs();
|
||||
// getScrollList();
|
||||
// }
|
||||
// }, 1000);
|
||||
});
|
||||
|
||||
async function getScrollList() {
|
||||
|
||||
Reference in New Issue
Block a user