有如下配置,欲根據配置生成按鈕,請問怎么實現將本控件的上下文傳入,或是有更好的實現方式? buttons: [{ action: function (context) { }, text: "查詢" }, { action: function (context) { }, text: "重置" }]
vueJS中匿名函數應該怎么獲取 Component 的上下文?
慕碼人8056858
2018-11-13 13:25:53