代码生成预览提供滚动机制

master
RuoYi 4 years ago
parent 4d46f4c1b5
commit a50beae599
  1. 4
      ruoyi-ui/src/assets/styles/ruoyi.scss
  2. 2
      ruoyi-ui/src/views/tool/gen/index.vue

@ -238,7 +238,3 @@
position: relative;
float: right;
}
/* el-tabs提供滚动机制 */
.el-tabs__content {
overflow-x: scroll;
}

@ -159,7 +159,7 @@
<!-- 预览界面 -->
<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
<el-tab-pane style="overflow-x: scroll;"
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'))"

Loading…
Cancel
Save