<input type="text" class="input-text" placeholder="請(qǐng)?zhí)顚戫?xiàng)目名" :value="info.title" @input="handleInput" data-model="title">
handleInput(e) {
var that = this;
var name = e.currentTarget.dataset.model;
that.$set(that, name, e.detail.value);
},
發(fā)表評(píng)論