日常开发记录–mounted方法中打印的东西出不来原因(Daily development record — why the printed things in the mounted method can’t come out)

原因1:该页面是带缓存的

原因2:有两个mounted生命周期方法,第一个打印的被覆盖了

————————

Reason 1: this page is cached

Reason 2: there are two mounted lifecycle methods, and the first printed one is overwritten