chris 3 жил өмнө
parent
commit
375cba3861

+ 1 - 1
src/views/modules/job/schedule.vue

@@ -72,7 +72,7 @@
         align="center"
         label="状态">
         <template slot-scope="scope">
-          <el-tag v-if="scope.row.status === 0" size="small">正常</el-tag>
+          <el-tag v-if="Number(scope.row.status) === 0" size="small">正常</el-tag>
           <el-tag v-else size="small" type="danger">暂停</el-tag>
         </template>
       </el-table-column>