bug
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
<div class="photo" v-if="pageShow">
|
<div class="photo" v-if="pageShow">
|
||||||
<div class="photo-header">
|
<div class="photo-header">
|
||||||
<h2>{{ info.albumName }}</h2>
|
<h2>{{ info.albumName }}</h2>
|
||||||
<div class="right" @click="linkTo('./AddAlbum?id=' + id)" hover-class="text-hover" v-if="id !== '1'">
|
<div class="right" @click="linkTo('./AddAlbum?id=' + id)" hover-class="text-hover" v-if="id !== '1' && isAdmin">
|
||||||
<image src="./images/setting.png" />
|
<image src="./images/setting.png" />
|
||||||
<span>相册设置</span>
|
<span>相册设置</span>
|
||||||
</div>
|
</div>
|
||||||
@@ -95,6 +95,7 @@
|
|||||||
|
|
||||||
onLoad (query) {
|
onLoad (query) {
|
||||||
this.id = query.id
|
this.id = query.id
|
||||||
|
this.isAdmin = !!this.$store.state.user.adminAuthType
|
||||||
|
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.getTotalInfo(query.id)
|
this.getTotalInfo(query.id)
|
||||||
|
|||||||
Reference in New Issue
Block a user