np-table Imperative Methods

Get the table instance through ref, then call the following imperative methods.

  • reload: Reload the data, resetting to the first page.
  • refresh: Refresh the data of the current page.
  • params: Bound query params, passed to api.fetch as queryParams.
浏览器不支持,请手动复制 expose.en.vue

Component Configuration

NpTableInst methods

MethodDescriptionType
reloadReload the data, resetting to the first page() => Promise<void>
refreshRefresh the data of the current page() => Promise<void>
paramsBound query params, passed to api.fetch as queryParamsRecord<string, any>