|
|
@@ -132,7 +132,7 @@
|
|
132
|
132
|
@click="handleDelete(scope.row)"
|
|
133
|
133
|
v-hasPermi="['tool:gen:remove']"
|
|
134
|
134
|
>删除</el-button>
|
|
135
|
|
- <el-button
|
|
|
135
|
+ <el-button
|
|
136
|
136
|
type="text"
|
|
137
|
137
|
size="small"
|
|
138
|
138
|
icon="el-icon-refresh"
|
|
|
@@ -159,7 +159,7 @@
|
|
159
|
159
|
<!-- 预览界面 -->
|
|
160
|
160
|
<el-dialog :title="preview.title" :visible.sync="preview.open" width="80%" top="5vh" append-to-body>
|
|
161
|
161
|
<el-tabs v-model="preview.activeName">
|
|
162
|
|
- <el-tab-pane
|
|
|
162
|
+ <el-tab-pane style="overflow-x: scroll;"
|
|
163
|
163
|
v-for="(value, key) in preview.data"
|
|
164
|
164
|
:label="key.substring(key.lastIndexOf('/')+1,key.indexOf('.vm'))"
|
|
165
|
165
|
:name="key.substring(key.lastIndexOf('/')+1,key.indexOf('.vm'))"
|
|
|
@@ -256,7 +256,7 @@ export default {
|
|
256
|
256
|
this.msgSuccess("成功生成到自定义路径:" + row.genPath);
|
|
257
|
257
|
});
|
|
258
|
258
|
} else {
|
|
259
|
|
- downLoadZip("/code/gen/batchGenCode?tables=" + tableNames, "ruoyi");
|
|
|
259
|
+ downLoadZip("/code/gen/batchGenCode?tables=" + tableNames, "ruoyi");
|
|
260
|
260
|
}
|
|
261
|
261
|
},
|
|
262
|
262
|
/** 同步数据库操作 */
|