|
|
|
@ -532,6 +532,7 @@ function initRecentlyMailTrend() { |
|
|
|
|
|
|
|
|
|
|
|
watch(time, () => { |
|
|
|
watch(time, () => { |
|
|
|
getData(); |
|
|
|
getData(); |
|
|
|
|
|
|
|
initRecentlyMailTrend() |
|
|
|
}) |
|
|
|
}) |
|
|
|
onMounted(() => { |
|
|
|
onMounted(() => { |
|
|
|
getData(); |
|
|
|
getData(); |
|
|
|
@ -541,7 +542,7 @@ onMounted(() => { |
|
|
|
// console.log("Active Tab: ", activeMailTab.value); |
|
|
|
// console.log("Active Tab: ", activeMailTab.value); |
|
|
|
// }, 3000); // 每3秒切换一次 |
|
|
|
// }, 3000); // 每3秒切换一次 |
|
|
|
}); |
|
|
|
}); |
|
|
|
// 在组件卸载前清除定时器 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|