-
$ on $ dispatch 時間傳遞,什么鬼? 講了什么呀,說得不明不白的? 別瞎講了,下去吧!查看全部
-
組件的屬性,要在組件中,注冊后,才能使用! props查看全部
-
1.定義import組件的名 Header 2.在vue中,注冊組件名 Header查看全部
-
xxx.vue 組件調用, import Header from './header' new Vue({ data: {xxx}, components: {xxx} })查看全部
-
模塊化: 組件劃分: 1.功能模塊 pagination,selector 2.頁面區域 header,footer,sidebar查看全部
-
deep: true查看全部
-
fetch JSON.parse STROAGE_KEY || '[]' x ? a : b查看全部
-
deep 可以動態綁定事件,更新屬性值查看全部
-
watch: { 'a': { handler :function(val,oldvar){ //do function }, deep: } }查看全部
-
watch: { "a":function(val,oldvar){ //do function } }查看全部
-
Store ? store.js import Store from './store'查看全部
-
ES 6 fetch: function(){} fetch (){} save: function(e){} save(e){}查看全部
-
const 常量 ES 6查看全部
-
HTML5 localStorage window.localStorage.getItem() window.localStorage.setItem()查看全部
-
將輸入的數據push 到數組中 addNew:function(){ this.itenms.push({ label: this.newItem, isFinished:false }) this.newitem ="" //清空input ]查看全部
舉報
0/150
提交
取消