Explorar el Código

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

Jinyao hace 5 años
padre
commit
bda920af99
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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-button @click="cancelEdit" size="mini">取消</el-button>
               </el-row>
               </el-row>
             </el-tab-pane>
             </el-tab-pane>
-            <template v-if="type!=='任务'">
+            <template v-if="type==='任务'">
               <el-tab-pane label="历史提交" name="commit_history">
               <el-tab-pane label="历史提交" name="commit_history">
               <!-- 相关提交 -->
               <!-- 相关提交 -->
               <el-row class="entry-row" style="margin-top: 15px">
               <el-row class="entry-row" style="margin-top: 15px">