鍍金池/ 問答/HTML/ vue取對(duì)象的值

vue取對(duì)象的值

var a=this.pointplay[this.handtype_index];
return a.pointplay_howmany_unit;

clipboard.png

回答
編輯回答
扯機(jī)薄

this.pointplay[this.handtype_index]的值沒有取到,你可以看下this.pointplay[this.handtype_index]或者this.handtype_index的值是不是你想要的

2017年3月15日 09:57
編輯回答
選擇

把代碼貼出來啊,這沒有代碼上下文,怎么知道哪里有問題?

2018年2月14日 12:13