diff --git a/FrontEnd/components/user/userSidebar.vue b/FrontEnd/components/user/userSidebar.vue index 05a554d..6a6ede2 100644 --- a/FrontEnd/components/user/userSidebar.vue +++ b/FrontEnd/components/user/userSidebar.vue @@ -2,9 +2,9 @@
- + :src="userData.MemberPicture" />
{{ lastName.split("")[0] || "" }} diff --git a/FrontEnd/pages/user/saveExhibition.vue b/FrontEnd/pages/user/saveExhibition.vue index 8658f7f..d1cb218 100644 --- a/FrontEnd/pages/user/saveExhibition.vue +++ b/FrontEnd/pages/user/saveExhibition.vue @@ -210,7 +210,7 @@ export default { console.log(error); }); - this.countryFilterList = this.showUserExhibitionList; + this.countryFilterList = this.showUserExhibitionList; }, mounted() { this.yearOptions = Array.from(new Array(103), (val, index) => @@ -390,7 +390,7 @@ export default { `/trending/api/Favorite/Favorites?Type=Exhibition` ) .then((response) => { - //console.log(JSON.stringify(response)); + console.log(JSON.stringify(response)); if(response && response.data && response.data.DATA && response.data.DATA.rel){ let data = response.data.DATA.rel if(data){ @@ -419,10 +419,10 @@ export default { async fetchExhibition() { this.$axios .get( - `/trending/api/Exhibition/Cards?RegionIDs&CountryIDs&CityIDs&MainCategoryIDs&SubCategoryIDs&Status&Date&Lang=${this.$i18n.localeProperties["langQuery"]}` + `/trending/api/Exhibition/Cards?RegionIDs&CountryIDs&CityIDs&MainCategoryIDs&SubCategoryIDs&Status&Date&Sort&Lang=${this.$i18n.localeProperties["langQuery"]}` ) .then((response) => { - //console.log(JSON.stringify(response)); + console.log(JSON.stringify(response)); if(response && response.data && response.data.DATA && response.data.DATA.rel){ let data = response.data.DATA.rel if(data){ @@ -434,6 +434,8 @@ export default { } }) }); + this.countryFilterList = JSON.parse( + JSON.stringify(this.showUserExhibitionList)); //Berlin示範的 // this.exhibitionList.forEach((exhib) => { @@ -447,7 +449,11 @@ export default { // }) + + }; + + }; }) .catch((error) => {