Commit 08cb9955c76e431b6167b979f94649d40e0a2ef1

Authored by dearliuliu0522
1 parent 9ee501d8

修复敏感词表格创建时间列内容错误,标签列标签之间增加空格

yudao-ui-admin/src/views/system/sensitiveWord/index.vue
... ... @@ -53,14 +53,17 @@
53 53 </el-table-column>
54 54 <el-table-column label="描述" align="center" prop="description"/>
55 55 <el-table-column label="标签" align="center" prop="tags">
56   - </el-table-column>
57   - <el-table-column label="创建时间" align="center" prop="createTime" width="180">
58 56 <template slot-scope="scope">
59 57 <el-tag :disable-transitions="true" v-for="(tag, index) in scope.row.tags" :index="index">
60 58 {{ tag }}
61 59 </el-tag>
62 60 </template>
63 61 </el-table-column>
  62 + <el-table-column label="创建时间" align="center" prop="createTime" width="180">
  63 + <template slot-scope="scope">
  64 + <span>{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}</span>
  65 + </template>
  66 + </el-table-column>
64 67 <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
65 68 <template slot-scope="scope">
66 69 <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
... ... @@ -324,3 +327,9 @@ export default {
324 327 }
325 328 };
326 329 </script>
  330 +
  331 +<style rel="stylesheet/scss" lang="scss">
  332 + .el-tag+.el-tag {
  333 + margin-left: 10px;
  334 + }
  335 +</style>
... ...