浏览代码

fix:章节上传音频按钮控制

shanbinzhang 2 月之前
父节点
当前提交
2a9332c4c8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/report/chapter/List.vue

+ 1 - 1
src/views/report/chapter/List.vue

@@ -709,7 +709,7 @@ async function handleConfirmSetLayout() {
             <div class="item" @click="handleCancelChapter(activeItem)" v-if="activeItem.IsAuth&&activeItem.PublishState===2">撤销</div>
             <div class="item" @click="handleCancelChapter(activeItem)" v-if="activeItem.IsAuth&&activeItem.PublishState===2">撤销</div>
             <div class="item" @click="handleDelChapter(activeItem)" v-if="isCreator">删除</div>
             <div class="item" @click="handleDelChapter(activeItem)" v-if="isCreator">删除</div>
             <div class="item" @click="handleShowTrendTag(activeItem)" v-permission="reportManageBtn.reportMange_chapter_editTag">添加标签</div>
             <div class="item" @click="handleShowTrendTag(activeItem)" v-permission="reportManageBtn.reportMange_chapter_editTag">添加标签</div>
-            <div class="item" @click="handleShowUploadAudio()">上传录音</div>
+            <div class="item" @click="handleShowUploadAudio()" v-if="checkAuthBtn(reportManageBtn.reportManage_audioUpload)">上传录音</div>
         </div>
         </div>
     </van-action-sheet>
     </van-action-sheet>