src/views/login/index.vue
@@ -94,9 +94,16 @@ }; }, created() { const pic = JSON.parse(localStorage.getItem('pic')); const pic = JSON.parse(sessionStorage.getItem('pic')); if(pic){ this.imgUrl = pic.loginPageIconUrl }else{ this.$axios({ method: 'get', url: 'sccg/system/portal/logo/search', }).then(res => { this.imgUrl = res.data.loginPageIconUrl }) } }, methods: { @@ -176,6 +183,7 @@ .logo>img { width: 75px; height: 75px; border-radius: 4px; } .text-r {