Compare commits

..

No commits in common. "dec43f819df15cc19b4856cd9d6836b7bd861071" and "e2cb987dedef619847fdb377133e72fd6185c9ae" have entirely different histories.

3 changed files with 2 additions and 3 deletions

View File

@ -14,7 +14,6 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
text-align: center;
align-items: center; align-items: center;
margin-bottom: 10px; margin-bottom: 10px;
cursor: pointer; cursor: pointer;

View File

@ -5,7 +5,7 @@ export class ItemStore extends BaseStore {
@observable listImages = []; @observable listImages = [];
constructor(context) { constructor(context) {
super(context); super(context);
this.url = "/categories/11936220-31f7-4f5e-8555-9110dbec4a5d/items"; this.url = "items";
} }
@action @action

View File

@ -26,7 +26,7 @@ export default class Vouchers {
getList(){ getList(){
console.log('res'); console.log('res');
this.isLoading = true; this.isLoading = true;
return this.http.get("categories/11936220-31f7-4f5e-8555-9110dbec4a5d/items") return this.http.get("items")
.then(res => { .then(res => {
this.list = res.data; this.list = res.data;
this.isLoading = false; this.isLoading = false;