We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
问题描述 使用 [email protected] 时,打包后的微信小程序报错,无法正常运行 注:dev 模式不报错,降级使用 [email protected] 也不报错,正常运行
复现步骤 在项目中引入 [email protected]
预期结果 正常运行
实际结果
系统信息: 微信小程序
补充信息 根据 error 追踪到了 floor 方法
The text was updated successfully, but these errors were encountered:
把项目精简一下发上来,我们测试一下
Sorry, something went wrong.
使用了 vue-cli 生成脚手架(默认模板) 在 page/index/index.vue 引入 lodash 并使用其 floor 方法(其余未更改)
// [email protected] import _ from 'lodash' export default { data () { return { title: 'Hello', num: null } }, onLoad () { this.num = _.floor(102.548741245, 2) }, methods: {} }
打包后报以下错误
@Wangyaqi
fix(mp): add isFinite #994
857a5e2
No branches or pull requests
问题描述
使用 [email protected] 时,打包后的微信小程序报错,无法正常运行
注:dev 模式不报错,降级使用 [email protected] 也不报错,正常运行
复现步骤
在项目中引入 [email protected]
预期结果
正常运行
实际结果
系统信息:
微信小程序
补充信息
根据 error 追踪到了 floor 方法
The text was updated successfully, but these errors were encountered: