Hello
From actions of store i’m using fetch() to call some api
but, is possible to call normal f7 requests (i need to pass some data)
I answer myself
I can use request()
findPoint({ state, dispatch }, { findtxt }) {
dispatch('setLoading', true);
request.post('http://url/api',
{ query: findtxt })
.then(function (res) {
var SR = JSON.parse(res.data);
if(SR.status == 'success'){
state.find_point = SR.user_data;
}
dispatch('setLoading', false);
});
},