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

This commit is contained in:
RuoYi 2020-12-10 11:13:39 +08:00
parent 4d46f4c1b5
commit a50beae599
2 changed files with 1 additions and 5 deletions

View File

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

View File

@ -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'))"