mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 08:13:44 +08:00 
			
		
		
		
	代码生成预览提供滚动机制
This commit is contained in:
		@@ -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'))"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user