Open DengSihan opened 2 weeks ago
"@dcloudio/uni-app": "3.0.0-4020920240930001", "@dcloudio/uni-ui": "^1.5.6",
微信开发者工具1.06.2409140 Stable
<template> {{ form }} <uni-easyinput v-model="form.name" type="nickname" placeholder="请输入昵称" /> </template> <script lang="ts" setup> import { ref } from 'vue'; const form = ref({ name: '' }); </script>
https://github.com/user-attachments/assets/0852b12f-c26d-487e-9ea7-bbf29ace3275
你好,easyinput 的 type 并不直接支持 nickname ,需要通过 input 标签并且自己实现处理逻辑。
"@dcloudio/uni-app": "3.0.0-4020920240930001", "@dcloudio/uni-ui": "^1.5.6",
微信开发者工具1.06.2409140 Stable
https://github.com/user-attachments/assets/0852b12f-c26d-487e-9ea7-bbf29ace3275