新尝试了Mint-UI,在使用表单组件Field时,

直接从demo中拷贝了如下代码:    

<mt-field label="username" placeholder="Input username" v-model="username"></mt-field>
<mt-field label="email" placeholder="Input email" type="email" v-model="email"></mt-field>
<mt-field label="password" placeholder="Input password" type="password" v-modal="password"></mt-field>
<mt-field label="phone" placeholder="Input tel" type="tel" v-model="phone"></mt-field>
输入信息后,发现password的值获取不到。
后来在issue中查找password 发现了问题所在,demo中打错字了:<mt-field label="password" placeholder="Input password" type="password" v-modal="password"></mt-field>
将v-modal 改为v-model就好
05-18 13:42