切换到上一版本可以提示,使用最新版就没有提示。

t***@foxmail.com
- 发布:2022-04-28 16:19
- 更新:2022-04-28 16:23
- 阅读:895

pages.json, 检查下easycom配置是否正确。
正确的easycom配置方法:https://uniapp.dcloud.io/collocation/pages.html#easycom
t***@foxmail.com (作者)
解决了,uview官方提供的easycom配置方法在这个版本中不适用,但是这样就不兼容之前的项目了,之前版本是直接写在easycom下的,并没有custom。
"easycom": {
"^u-(.*)": "@/uni_modules/uview-ui/components/u-$1/u-$1.vue"
}
2022-04-28 17:27