方法一: 不使用`disable`, 而是在输入框的input事件中做处理, 为true时拦截掉所有输入 方法二: 用v-if做判断, 不能输入时,不显示input, 而是显示div, 否则才显示input
阅读量:1
点赞量:0