callApi ('products', queryParams, '').then((data) => {
if (data.data.data.length) {
this.goods = this.goods.concat(data.data.data);
$state.loaded();
$('#preview-buttons button').hide();
} else {
$('#preview-buttons button').show();
}
});