Bläddra i källkod

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

Jinyao 5 år sedan
förälder
incheckning
bda920af99
1 ändrade filer med 1 tillägg och 1 borttagningar
  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">