定时器定义在mounted(){}中
定时器清除在beforeDestory(){}中
使用组合式API (setup)
定时器定义在 onMounted(()=>{ })中
定时器清除在 onBeforeUnmounted(()=>{ })中