Commit f18b3bc6bed8100a12219db7251c4757d996d5c1
1 parent
0c1a2776
代码生成字段描述可编辑
Showing
1 changed file
with
5 additions
and
6 deletions
ruoyi-ui/src/views/tool/gen/editTable.vue
| ... | ... | @@ -13,12 +13,11 @@ |
| 13 | 13 | min-width="10%" |
| 14 | 14 | :show-overflow-tooltip="true" |
| 15 | 15 | /> |
| 16 | - <el-table-column | |
| 17 | - label="字段描述" | |
| 18 | - prop="columnComment" | |
| 19 | - min-width="10%" | |
| 20 | - :show-overflow-tooltip="true" | |
| 21 | - /> | |
| 16 | + <el-table-column label="字段描述" min-width="10%"> | |
| 17 | + <template slot-scope="scope"> | |
| 18 | + <el-input v-model="scope.row.columnComment"></el-input> | |
| 19 | + </template> | |
| 20 | + </el-table-column> | |
| 22 | 21 | <el-table-column |
| 23 | 22 | label="物理类型" |
| 24 | 23 | prop="columnType" | ... | ... |