Merge branch 'master' of https://gitee.com/y_project/RuoYi-Cloud
This commit is contained in:
commit
cf4f261e14
|
|
@ -158,7 +158,7 @@ export function handleTree(data, id, parentId, children, rootId) {
|
||||||
export function tansParams(params) {
|
export function tansParams(params) {
|
||||||
let result = ''
|
let result = ''
|
||||||
Object.keys(params).forEach((key) => {
|
Object.keys(params).forEach((key) => {
|
||||||
if (!Object.is(params[key], undefined) && !Object.is(params[key], null)) {
|
if (!Object.is(params[key], undefined) && !Object.is(params[key], null) && !Object.is(JSON.stringify(params[key]), '{}')) {
|
||||||
result += encodeURIComponent(key) + '=' + encodeURIComponent(params[key]) + '&'
|
result += encodeURIComponent(key) + '=' + encodeURIComponent(params[key]) + '&'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -257,7 +257,7 @@ export default {
|
||||||
this.msgSuccess("成功生成到自定义路径:" + row.genPath);
|
this.msgSuccess("成功生成到自定义路径:" + row.genPath);
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
downLoadZip("/tool/gen/batchGenCode?tables=" + tableNames, "ruoyi");
|
downLoadZip("/code/gen/batchGenCode?tables=" + tableNames, "ruoyi");
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
/** 同步数据库操作 */
|
/** 同步数据库操作 */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue