mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-02-24 14:54:43 +08:00
fix: 调整上传文件夹
This commit is contained in:
parent
796d47d60e
commit
bdcca7f380
1 changed files with 1 additions and 2 deletions
|
@ -115,12 +115,11 @@ const acceptParams = async (params: DialogProps): Promise<void> => {
|
||||||
const pathRes = await loadBaseDir();
|
const pathRes = await loadBaseDir();
|
||||||
if (type.value === 'mysql') {
|
if (type.value === 'mysql') {
|
||||||
title.value = name.value + ' [ ' + detailName.value + ' ]';
|
title.value = name.value + ' [ ' + detailName.value + ' ]';
|
||||||
baseDir.value = `${pathRes.data}/uploads/database/mysql/${name.value}/${detailName.value}/`;
|
|
||||||
}
|
}
|
||||||
if (type.value === 'website' || type.value === 'app') {
|
if (type.value === 'website' || type.value === 'app') {
|
||||||
title.value = name.value;
|
title.value = name.value;
|
||||||
baseDir.value = `${pathRes.data}/uploads/${type.value}/${name.value}/`;
|
|
||||||
}
|
}
|
||||||
|
baseDir.value = `${pathRes.data}/uploads/${type.value}/${name.value}/${detailName.value}/`;
|
||||||
upVisiable.value = true;
|
upVisiable.value = true;
|
||||||
search();
|
search();
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue