uni-app-vite-vue3-tailwind-vscode-template icon indicating copy to clipboard operation
uni-app-vite-vue3-tailwind-vscode-template copied to clipboard

真机测试爆红

Open jiewenhuang opened this issue 1 year ago • 1 comments
trafficstars

image

请问这种情况是正常的吗?

直接clone的仓库 webstorm打开 yarn install 初始化 yarn run dev:mp-weixin 启动,开发工具里是正常的,真机出现这个错误,不影响页面显示。

jiewenhuang avatar Mar 22 '24 05:03 jiewenhuang

这个错误我在我的机器上,真机测试没有报,我是小米 13。

感觉这个像是 uni-app 的问题,因为我的 weapp-tailwindcss 在运行时只和 css 有关,不会生成任何的 js 文件

uni-app 会在 app 对象上挂一个$vm 对象作为 vue 实例。

这个可能要看看你手机具体的型号和微信 sdk 的版本,然后去 uni-app 或者微信开发社区里面去问了。

sonofmagic avatar Mar 22 '24 16:03 sonofmagic