New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npx @dcloudio/uvm@latest会更新成alpha版本,easycome模式有问题 #4895
Comments
+1。npx @dcloudio/uvm@latest会更新成alpha版本 |
+1 |
已收到。谢谢,我会尽快回复你。
|
+1 |
1 similar comment
+1 |
/@dcloudio/uvm/lib/version.js function compare (version, oAlpha, ov1, ov2, ov3, ov4, ov5, strict) {
const dataDiff = approximateDate(tv4 || ov4, ov4)
const fix = dataDiff + Number(ov5)
if (
approximateCode(tv1, ov1) &&
approximateCode(tv2, ov2, strict) &&
approximateCode(tv3, ov3, strict) &&
dataDiff &&
fix > nextVersionFix
) {
if (vue3 || tAlpha === oAlpha) {
nextVersion = version
nextVersionFix = fix
}
}
} @dcloudio/vue-cli-plugin-uni 里面包含了正式版和 alpha 版,比如: [ 这两个版本,一个 alpha 版,一个正式版,后面的 解决思路
这一行判断似乎有问题?为啥 vue3 时就直接匹配了? 去掉 vue3,改成 或者改成 |
我执行完之后package.json会变成
导致我想利用easycome模式引入components下的组件会失效
在小程序上的效果是
发现会没有components
The text was updated successfully, but these errors were encountered: