Skip to content

Commit a447eeb

Browse files
committed
refactor🎨: 修改岗位状态类型为int
1 parent 88be39b commit a447eeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/admin/sys-post/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
<el-table-column label="状态" align="center" prop="status" :formatter="statusFormat">
8888
<template slot-scope="scope">
8989
<el-tag
90-
:type="scope.row.status === '1' ? 'danger' : 'success'"
90+
:type="scope.row.status === 1 ? 'danger' : 'success'"
9191
disable-transitions
9292
>{{ statusFormat(scope.row) }}</el-tag>
9393
</template>

0 commit comments

Comments
 (0)