wip:调整轮博时间

main
@0Melon0 12 months ago
parent c09aafef8a
commit 370762174a

@ -104,7 +104,7 @@ export default {
patientList: [],
currentDateTime: dayjs().format('YYYY-MM-DD HH:mm dddd'),
dateTimer: null,
carouselCountDown: 3,
carouselCountDown: 10,
carouselTimer: null,
activeIndex: 0,
getDataTimer: null,
@ -155,7 +155,7 @@ export default {
this.carouselCountDown -= 1;
if (this.carouselCountDown == 0) {
this.$refs.carousel.next();
this.carouselCountDown = 3;
this.carouselCountDown = 10;
}
}, 1000);
});

@ -86,7 +86,7 @@ export default {
patientList: [],
currentDateTime: dayjs().format('YYYY-MM-DD HH:mm dddd'),
dateTimer: null,
carouselCountDown: 3,
carouselCountDown: 10,
carouselTimer: null,
activeIndex: 0,
getDataTimer: null,
@ -139,7 +139,7 @@ export default {
this.carouselCountDown -= 1;
if (this.carouselCountDown == 0) {
this.$refs.carousel.next();
this.carouselCountDown = 3;
this.carouselCountDown = 10;
}
}, 1000);
});
@ -224,7 +224,7 @@ export default {
Notification({
title: '呼叫患者',
message: h('i', { style: 'color: teal;font-size:24px' }, newVal),
duration: 10000,
duration: 12000,
});
if ('speechSynthesis' in window) {
const utterance = new SpeechSynthesisUtterance([newVal, newVal, newVal].join(''));

Loading…
Cancel
Save