bug
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<div class="photo" v-if="pageShow">
|
||||
<div class="photo-header">
|
||||
<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" />
|
||||
<span>相册设置</span>
|
||||
</div>
|
||||
@@ -95,6 +95,7 @@
|
||||
|
||||
onLoad (query) {
|
||||
this.id = query.id
|
||||
this.isAdmin = !!this.$store.state.user.adminAuthType
|
||||
|
||||
this.$nextTick(() => {
|
||||
this.getTotalInfo(query.id)
|
||||
|
||||
Reference in New Issue
Block a user