Closed Gehbt closed 5 months ago
The recent updates involve standardizing various properties across the configuration types to use numbers instead of strings for default values. This change affects properties like animationDuration
, distances such as onReachBottomDistance
, and device width calculations in interfaces like AppPlus
and TheWindow
. The modifications aim to enhance consistency and possibly performance by using more appropriate data types for numerical values.
Files | Change Summaries |
---|---|
.../config/types/appPlus.ts .../config/types/globalStyle.ts |
Default values changed from strings to numbers for animationDuration , onReachBottomDistance , rpxCalcMaxDeviceWidth , rpxCalcBaseDeviceWidth , and rpxCalcIncludeWidth . |
.../config/types/index.ts .../schema/schema.json |
Changed minWidth default value in TheWindow from "768" to 768 and updated other numerical defaults similarly. |
🐇✨
In the land of code where the digital grass grows,
A change was made, as the wise rabbit knows.
From strings to numbers, a leap so bold,
Enhancing the tales that our apps told.
So hop along, dear friends, let's celebrate,
For our code's more efficient, isn't that great?
🎉🐾
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
很感谢你的贡献!
我们正在根据官网内容从头核对我们的 types 和 schema,你的提交内容已经被包含在改动中。为了避免不必要的冲突,我们现在先关闭这个 PR,我们会尽快发布相关的改动。非常抱歉没有能接受你的 PR,希望你能谅解!🙏
要查阅相关改动,请查看 https://github.com/modyqyw/vite-plugin-uni-pages。
Description 描述
schema 中 type 为 number 类型, 在默认值里却是 string 类型
Linked Issues 关联的 Issues
Additional context 额外上下文
Summary by CodeRabbit