亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

vue is not defined ?????

Vue.component('todo-item',{
??template:'<li>item</li>'
});

export?default?{
??data:function(){
????return?{
?????//?title?:'<span>?</span>This?is?my?first?way',
??????items:[],
??????newItem:'',
??????childWold:'',
??????isFinished:'thisIsLiClass',
??????ishouse:'thisisLihouse',
??????firstName:'',
??????lastName:'',
??????count:0,
??????title:'this?is?hello?world',
??????content:'balabalabalaba',
??????show:true,
??????inputValue:''
????}
??},
??computed:{
????fullName:function(){
??????return?this.firstName?+?'?'?+?this.lastName
????}
??},
??watch:{
????fullName:function(){
??????this.count++;
????}
??},
??methods:{
????handleClick:function(){
??????this.title?=?'how?are?you'
????},
????handleToggle:function(){
??????this.show?=?!this.show
????},
????handleSubmit:function(){
??????this.items.push(this.inputValue);
??????this.inputValue?=?'';
????}
??}

}


正在回答

3 回答

vue都沒引入

0 回復 有任何疑惑可以回復我~

寫的對呀

0 回復 有任何疑惑可以回復我~

寫錯了,你這個,這個是用了手腳架之后寫的吧,你仔細看看data壓根不是那么寫的

0 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

vue is not defined ?????

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號