We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88be39b commit a447eebCopy full SHA for a447eeb
src/views/admin/sys-post/index.vue
@@ -87,7 +87,7 @@
87
<el-table-column label="状态" align="center" prop="status" :formatter="statusFormat">
88
<template slot-scope="scope">
89
<el-tag
90
- :type="scope.row.status === '1' ? 'danger' : 'success'"
+ :type="scope.row.status === 1 ? 'danger' : 'success'"
91
disable-transitions
92
>{{ statusFormat(scope.row) }}</el-tag>
93
</template>
0 commit comments