29928
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<div class="userinfo">
|
||||
<image src="https://pica.zhimg.com/v2-abed1a8c04700ba7d72b45195223e0ff_is.jpg?source=32738c0c" />
|
||||
<div class="right">
|
||||
<h2><AiOpenData v-if="userInfo.wxOpenUserId" type="userName" :openid="userInfo.wxOpenUserId"></AiOpenData></h2>
|
||||
<h2><AiOpenData v-if="user.wxOpenUserId" type="userName" :openid="user.wxOpenUserId"></AiOpenData></h2>
|
||||
<p>欢迎使用乡村相册</p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -64,7 +64,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item item-add" @click="linkTo('./AddAlbum')">
|
||||
<div class="item item-add" @click="linkTo('./AddAlbum')" v-if="user && user.adminAuthType === '1'">
|
||||
<div class="item-add__btn"></div>
|
||||
<p>添加相册</p>
|
||||
</div>
|
||||
@@ -74,6 +74,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { mapState } from 'vuex'
|
||||
export default {
|
||||
name: 'Home',
|
||||
|
||||
@@ -86,8 +87,10 @@
|
||||
userInfo: {}
|
||||
}
|
||||
},
|
||||
computed: { ...mapState(['user']) },
|
||||
|
||||
mounted () {
|
||||
console.log(this.user.adminAuthType)
|
||||
this.getCountPhotoNo()
|
||||
this.getAlbumList()
|
||||
this.getMsgList()
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
import Organize from './Organize.vue'
|
||||
|
||||
export default {
|
||||
name: 'AppAskForm',
|
||||
name: 'Tabbar',
|
||||
appName: '乡村相册',
|
||||
|
||||
data() {
|
||||
|
||||
Reference in New Issue
Block a user