<a-input name="a" v-model="formValidate.coName" placeholder="请输入姓名" v-bind:disabled="diasabledInput"></a-input>
export default { data () { return { diasabledInput:false, } }, methods: { handleSubmit:function () { if(this.diasabledInput){ this.diasabledInput=false; }else{ this.diasabledInput=true; } } } }标签:vue,false,diasabledInput,切换,设置,input From: https://www.cnblogs.com/henuyuxiang/p/17246646.html