setTimeout = this$routergo0 5 this$storedispatchapptoggleSideBars thisallData = this$storegetterssocketMsgs thisarticle_list thisorder_lists thisopenWebsocket; try t
是的,这段代码的作用是在5秒后刷新当前页面。首先使用setTimeout函数设置一个定时器,定时器的回调函数中调用了this.$router.go(0),表示刷新当前页面。
原文地址: https://www.cveoy.top/t/topic/iNhQ 著作权归作者所有。请勿转载和采集!