借助 模板参考,您应该能够做到这一点。
<AgGrid :rows="rows" :columns="columns" ref="gridRef" />
然后
gridRef.value.specificGridApiMethod()