uniapp 移动端(ios)uview2.0 u-input 插槽问题
这个插槽太奇怪了,非得加上对于的属性才能使用。
<u-input class="u-input" prefixIcon="search" suffix-icon="search" placeholder="请输入验证码" type="text" border="surround" color="#fffffff0" v-model="code"> <template v-slot:prefix> <view>验证码</view> </template> <template v-slot:suffix> <view> 验证码 </view> </template> </u-input>