Closed Ares-Chang closed 8 months ago
The update in the codebase reflects a minor but significant logical tweak in the useQuery
function, where the default value assignment strategy for query.value
was shifted from the nullish coalescing operator to the logical OR operator. This change impacts the conditions under which the default value is applied.
File Path | Change Summary |
---|---|
src/composables/.../useQuery.ts |
Replaced ?? with || for default value assignment in useQuery . |
🐇✨ In the land of code, where queries run free, A rabbit hopped by, changing
??
to||
. A subtle shift, the logic anew, Defaults dance differently, as values ensue. 🌟🌿
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 X ?
修复支付宝小程序运行报错,
??
语法不支持。Summary by CodeRabbit