Skip to content

Commit 1122c39

Browse files
committed
feat: 代码生成列支持拖动排序
1 parent 36052be commit 1122c39

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

ruoyi-fastapi-frontend/src/views/tool/gen/editTable.vue

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,8 @@
66
</el-tab-pane>
77
<el-tab-pane label="字段信息" name="columnInfo">
88
<el-table ref="dragTable" :data="columns" row-key="columnId" :max-height="tableHeight">
9-
<el-table-column label="序号" type="index" min-width="5%" class-name="allowDrag" />
10-
<el-table-column
11-
label="字段列名"
12-
prop="columnName"
13-
min-width="10%"
14-
:show-overflow-tooltip="true"
15-
/>
9+
<el-table-column label="序号" type="index" min-width="5%" class-name="allowDrag"/>
10+
<el-table-column label="字段列名" prop="columnName" min-width="10%" :show-overflow-tooltip="true" class-name="allowDrag"/>
1611
<el-table-column label="字段描述" min-width="10%">
1712
<template slot-scope="scope">
1813
<el-input v-model="scope.row.columnComment"></el-input>

0 commit comments

Comments
 (0)