Browse Source

编辑排序

master
chenke 3 years ago
parent
commit
db75882b55
  1. 8
      src/views/article/index.vue

8
src/views/article/index.vue

@ -146,6 +146,11 @@
<span>{{ row.label_name | getTagDetail }}</span> <span>{{ row.label_name | getTagDetail }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="排序" align="center">
<template slot-scope="{ row }">
<span>{{ row.sort }}</span>
</template>
</el-table-column>
<el-table-column label="创建时间" align="center"> <el-table-column label="创建时间" align="center">
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<span>{{ row.create_time }}</span> <span>{{ row.create_time }}</span>
@ -256,6 +261,9 @@
<el-radio :label="1">下线</el-radio> <el-radio :label="1">下线</el-radio>
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
<el-form-item label="排序" prop="sort">
<el-input v-model="temp.sort" />
</el-form-item>
<el-form-item label="封面" prop="img" required> <el-form-item label="封面" prop="img" required>
<img <img
v-if="temp.img" v-if="temp.img"

Loading…
Cancel
Save