This commit is contained in:
yanran200730
2022-06-01 10:55:55 +08:00
parent ed5fb11725
commit dd6fd8a707

View File

@@ -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)