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
HbuilderX 4.45 uni-ui 1.5.7 vue3
<template> <view> <uni-data-picker v-model="temperature" readonly placeholder="请选择最高气温" :localdata="temperaturePicker"></uni-data-picker> </view> </template> <script> export default { data() { temperature: "25", temperaturePicker: [] }, onLoad(option) { for (let i = 50; i > -41; i--) { this.temperature.push({ text: `${i}℃`, value: `${i}` }); } } } </script>
文本框中应该是25℃
The text was updated successfully, but these errors were encountered:
No branches or pull requests
版本信息
HbuilderX 4.45
uni-ui 1.5.7
vue3
代码片段
实际结果
预期结果
文本框中应该是25℃
The text was updated successfully, but these errors were encountered: