mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-09 10:56:44 +08:00
修改状态
This commit is contained in:
@@ -34,8 +34,9 @@
|
||||
<el-table-column prop="status" label="状态" width="80px" align="center">
|
||||
<template slot-scope="scope">
|
||||
<span v-if="scope.row.status == 0">未发布</span>
|
||||
<span v-if="scope.row.status == 1" style="color: #da0000;">已发布</span>
|
||||
<span v-if="scope.row.status == 2">已停用</span>
|
||||
<span v-if="scope.row.status == 1">已发布</span>
|
||||
<!-- <span v-if="scope.row.status == 1" style="color: #da0000;">已发布</span> -->
|
||||
<span v-if="scope.row.status == 2" style="color: #da0000;">已停用</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="type" label="类型" width="80px" align="center">
|
||||
|
||||
Reference in New Issue
Block a user