Просмотр исходного кода

fix: 类型为任务时展示历史提交

Jinyao 5 лет назад
Родитель
Сommit
bda920af99
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/components/RequirementDrawer.vue

+ 1 - 1
src/components/RequirementDrawer.vue

@@ -145,7 +145,7 @@
                 <el-button @click="cancelEdit" size="mini">取消</el-button>
               </el-row>
             </el-tab-pane>
-            <template v-if="type!=='任务'">
+            <template v-if="type==='任务'">
               <el-tab-pane label="历史提交" name="commit_history">
               <!-- 相关提交 -->
               <el-row class="entry-row" style="margin-top: 15px">