调整代码生成页列宽

master
RuoYi 4 years ago
parent 89e1f2a53f
commit ceefa20aa2
  1. 10
      ruoyi-ui/src/views/tool/gen/index.vue

@ -91,21 +91,21 @@
align="center"
prop="tableName"
:show-overflow-tooltip="true"
width="130"
width="120"
/>
<el-table-column
label="表描述"
align="center"
prop="tableComment"
:show-overflow-tooltip="true"
width="130"
width="120"
/>
<el-table-column
label="实体"
align="center"
prop="className"
:show-overflow-tooltip="true"
width="130"
width="120"
/>
<el-table-column label="创建时间" align="center" prop="createTime" width="160" />
<el-table-column label="更新时间" align="center" prop="updateTime" width="160" />
@ -159,13 +159,13 @@
<!-- 预览界面 -->
<el-dialog :title="preview.title" :visible.sync="preview.open" width="80%" top="5vh" append-to-body>
<el-tabs v-model="preview.activeName">
<el-tab-pane style="overflow-x: scroll;"
<el-tab-pane
v-for="(value, key) in preview.data"
:label="key.substring(key.lastIndexOf('/')+1,key.indexOf('.vm'))"
:name="key.substring(key.lastIndexOf('/')+1,key.indexOf('.vm'))"
:key="key"
>
<highlightjs autodetect :code="value" />
<highlightjs autodetect :code="value" />
</el-tab-pane>
</el-tabs>
</el-dialog>

Loading…
Cancel
Save