在原生小程序中,用到了大量的Behavior
,转换过来在浏览器跑通之后,报错Behavior is not defined
,这个该怎么解,大佬给个思路,小弟跪谢……
module.exports = Behavior({
.......
})
在原生小程序中,用到了大量的Behavior
,转换过来在浏览器跑通之后,报错Behavior is not defined
,这个该怎么解,大佬给个思路,小弟跪谢……
module.exports = Behavior({
.......
})
2 个回复
zhangdaren - 小程序转uniapp工具:https://ext.dcloud.net.cn/plugin?id=2656
转成这样就行了
具体可以参考https://github.com/zhangdaren/miniprogram-to-uniapp这个工具
zhangdaren - 小程序转uniapp工具:https://ext.dcloud.net.cn/plugin?id=2656
同求哇~~