diff --git a/src/views/GrowUp/MyAlbum.vue b/src/views/GrowUp/MyAlbum.vue index 323e875..7cdf9d3 100644 --- a/src/views/GrowUp/MyAlbum.vue +++ b/src/views/GrowUp/MyAlbum.vue @@ -18,7 +18,7 @@ -
+
@@ -75,6 +75,7 @@ export default { //获取当前用户相关的商户相册 getUserAlbum() { this.loading = true + if (!this.userInfo.centerNo) return this.yxAxios .post(`${this.proxyUrl}/api/growth/photo/userAlbum`, { centerNo: this.userInfo.centerNo, diff --git a/测试用数据/Home.vue b/测试用数据/Home.vue index 2d30d92..a492455 100644 --- a/测试用数据/Home.vue +++ b/测试用数据/Home.vue @@ -109,7 +109,7 @@ import Background from '../components/Background.vue' import AllLoveGo from '../components/AllLoveGo.vue' import AboutDes from './aboutDes.vue' import './home.scss' -// const userData = require('@/views/data.json') +const userData = require('@/views/data.json') export default { components: { CourseList, -- libgit2 0.21.0