Anfo
Anfo
after calling serveOrigin, browser get the right baseurl 'http://localhost:8080', but when loads assets (css, ico, etc) get the wrong baseurl '/'.
> 上面写了,这个就是生命周期 > created: function() { > console.log(123456); > }, > attached: function() { > console.log(123); > // 在组件实例进入页面节点树时执行 > }, 例如组件需要捕获 页面的onshow事件怎么做? 我只能是 用原生组件捕获了,然后在wepy组件中使用原生组件emit的事件来处理响应
我发现typescript版本如果在5.1.6 就不会报这个错误。之后的版本都会报这个错误。
https://github.com/vuejs/language-tools/issues/3856 this solved my problem add "jsxImportSource": "vue" in tsconfig.json !
I met this problem too after I upgraded the vue version of my project to v3.4.21( 3.4.15 still report the errors after tested ). Until I found this issue and...