You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Axios to request the data from the API with access token and get the data but not showing in the table may I know why
<vuetable
ref="vuetable"
class="table-divided order-with-arrow responsive-table"
:query-params="makeQueryParams"
:per-page="perPage"
:reactive-api-url="true"
:fields="fields"
pagination-path
:http-fetch="getData"
:row-class="onRowClass" @vuetable:load-error="requestFail" @vuetable:pagination-data="onPaginationData"
>
getData(apiUrl,httpOptions){
// console.log(apiUrl,httpOptions,'httpOptions');
await axios
.get(${this.apiBase},httpOptions)
.then(response => {
console.log(response.data,'ssdasdsa');
// this.loadSuccess(response);
this.isLoad =true;
return response;
}).catch(e => {
console.log(e);
})
},
The text was updated successfully, but these errors were encountered:
I'm using Axios to request the data from the API with access token and get the data but not showing in the table may I know why
<vuetable
ref="vuetable"
class="table-divided order-with-arrow responsive-table"
:query-params="makeQueryParams"
:per-page="perPage"
:reactive-api-url="true"
:fields="fields"
pagination-path
:http-fetch="getData"
:row-class="onRowClass"
@vuetable:load-error="requestFail"
@vuetable:pagination-data="onPaginationData"
>
getData(apiUrl,httpOptions){
// console.log(apiUrl,httpOptions,'httpOptions');
await axios
.get(
${this.apiBase}
,httpOptions).then(response => {
console.log(response.data,'ssdasdsa');
// this.loadSuccess(response);
this.isLoad =true;
return response;
}).catch(e => {
console.log(e);
})
},
The text was updated successfully, but these errors were encountered: