update ZR.Vue/src/views/tool/gen/editTable.vue.

删除了列的fixed,现在行可以拖放。
This commit is contained in:
当当 2022-05-30 12:19:17 +00:00 committed by Gitee
parent 2563624936
commit 2ae73a7d1d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -9,9 +9,9 @@
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="字段信息" name="cloum"> <el-tab-pane label="字段信息" name="cloum">
<el-table ref="dragTable" v-loading="loading" :data="columns" row-key="columnId" min-height="150px" :max-height="tableHeight"> <el-table ref="dragTable" v-loading="loading" :data="columns" row-key="columnId" min-height="150px" :max-height="tableHeight">
<el-table-column label="序号" type="index" class-name="allowDrag" fixed /> <el-table-column label="序号" type="index" class-name="allowDrag" />
<el-table-column label="字段列名" prop="columnName" :show-overflow-tooltip="true" fixed /> <el-table-column label="字段列名" prop="columnName" :show-overflow-tooltip="true" />
<el-table-column label="字段描述" fixed> <el-table-column label="字段描述" >
<template slot-scope="scope"> <template slot-scope="scope">
<el-input v-model="scope.row.columnComment" :ref="scope.row.columnId" @keydown.native="nextFocus(scope.row, scope.$index, $event)"> <el-input v-model="scope.row.columnComment" :ref="scope.row.columnId" @keydown.native="nextFocus(scope.row, scope.$index, $event)">
</el-input> </el-input>