網上看到的vue-cli環境下雙向綁定的方法親測好用,能夠拿來拓展

1..vue文件vue <template>app <div id="dataList">fetch <h1 v-text="title"></h1>this <input v-model="newItem" v-on:keyup.enter="addNew">localstorage <ul>事件 <li v-for="item in items" v-bind:class="{finished
相關文章
相關標籤/搜索