diff --git a/src/layouts/PageView.vue b/src/layouts/PageView.vue index 6b14270..afc7f40 100644 --- a/src/layouts/PageView.vue +++ b/src/layouts/PageView.vue @@ -25,13 +25,13 @@ export default { computed: { ...mapState('setting', ['isMobile', 'multiPage', 'animate']), desc() { - return this.page.desc + return this.page?.desc }, linkList() { - return this.page.linkList + return this.page?.linkList }, extraImage() { - return this.page.extraImage + return this.page?.extraImage } }, mounted () {