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
@dcloudio/uni-ui: "1.5.7" 编译目标: 微信小程序 node: "14.21.2" npm: 6.14.17 系统: Windows 10 22H2
我只是在页面上引用了 uni-data-picker 组件,代码如下
uni-data-picker
<uni-data-picker placeholder="请选择工单类型" popup-title="工单类型" :localdata="workOrderType" v-model="taskSubTypeId" :clearIcon="false" />
data() { return { workOrderType: [], taskSubTypeId: '', } }
然后,当我打包编译后大小是 2.13MB; 最后,我把这个组件从页面上删除使用后,打包编译后大小是 1.84MB。
这对于主包总体积不能超过 2MB 的要求来说,这个组件占用了 296kb 影响了我打包后的小程序的总体积的。
The text was updated successfully, but these errors were encountered:
分包会不会解决?
Sorry, something went wrong.
No branches or pull requests
版本
@dcloudio/uni-ui: "1.5.7"
编译目标: 微信小程序
node: "14.21.2"
npm: 6.14.17
系统: Windows 10 22H2
问题
我只是在页面上引用了
uni-data-picker
组件,代码如下然后,当我打包编译后大小是 2.13MB;
最后,我把这个组件从页面上删除使用后,打包编译后大小是 1.84MB。
问题原因
这对于主包总体积不能超过 2MB 的要求来说,这个组件占用了 296kb 影响了我打包后的小程序的总体积的。
The text was updated successfully, but these errors were encountered: