[fix] 修复input 为选择框时没有提示问题

This commit is contained in:
aisen
2025-12-01 14:20:38 +08:00
parent 71e58907a9
commit 9c161727ff

View File

@@ -45,7 +45,7 @@
v-if="type === 'select'"
class="tn-input__text"
>
{{defaultValue}}
{{defaultValue == undefined || defaultValue == '' ? placeholder : defaultValue }}
</view>
<input