mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-23 01:20:25 +08:00
fix: 数据库数据表高度自适应&格式化sql后无法修改
This commit is contained in:
@@ -353,6 +353,9 @@ export default defineComponent({
|
||||
if (path.endsWith('nginx.conf')) {
|
||||
return 'nginx';
|
||||
}
|
||||
if (path.endsWith('sql')) {
|
||||
return 'sql';
|
||||
}
|
||||
if (path.endsWith('yaml') || path.endsWith('yml')) {
|
||||
return 'yaml';
|
||||
}
|
||||
@@ -488,7 +491,7 @@ export default defineComponent({
|
||||
headers: { 'Content-Type': 'multipart/form-data; boundary=----WebKitFormBoundaryF1uyUD0tWdqmJqpl' },
|
||||
onUploadProgress: onUploadProgress,
|
||||
baseURL: '',
|
||||
timeout: 60*60*1000,
|
||||
timeout: 60 * 60 * 1000,
|
||||
})
|
||||
.then(() => {
|
||||
ElMessage.success('上传成功');
|
||||
|
||||
Reference in New Issue
Block a user