|
|
|
@ -352,7 +352,6 @@ export default {
|
|
|
|
|
...mapGetters('setting', ['settings']),
|
|
|
|
|
},
|
|
|
|
|
async created() {
|
|
|
|
|
this.carouselHeight = this.isMobile ? '250px' : '360px'
|
|
|
|
|
await Promise.all([
|
|
|
|
|
this.getRecommendDocuments(),
|
|
|
|
|
this.listBanner(),
|
|
|
|
@ -362,6 +361,9 @@ export default {
|
|
|
|
|
this.getUser(),
|
|
|
|
|
])
|
|
|
|
|
},
|
|
|
|
|
mounted() {
|
|
|
|
|
this.carouselHeight = this.isMobile ? '250px' : '360px'
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
...mapActions('user', ['logout', 'getUser']),
|
|
|
|
|
getIcon,
|
|
|
|
|