如何在Vuex中獲取組件vue實例
1 回答

繁花如伊
TA貢獻2012條經驗 獲得超12個贊
在ajax回掉中添加callback;
methods:{
callback:function(_this){
console.log(_this)
}
ajax回掉:function(){
this.callback(this)
}
}
- 1 回答
- 0 關注
- 1934 瀏覽
添加回答
舉報
0/150
提交
取消