vueComponent/ant-design-vue

<template> <div class="hello"> <a-input v-model="username" placeholder="Basic usage" /> <a-input-password v-model="password" placeholder="input password" @input='change' /> <a-button @click='login' type="primary">Login</a-button> </div> </template> <script> export default { name: 'HelloWorld', props: { msg: String }, data() { return { username: '', password: '' } }, methods:{ login(){ console.log(this.username,this.password) }, change(){ console.log(88888) } }, } </script> #1305

xiaohuwei posted onGitHub

Loading interface...
Loading interface...

Fund this Issue

$0.00
Funded

Pull requests