@@ -249,6 +249,10 @@ export default {
this.counter = 0;
}
+ },
+ // 销毁定时器
+ beforeDestroy(){
+ clearTimeout(this.showData)
</script>