diff --git a/frontend/src/components/upload/index.vue b/frontend/src/components/upload/index.vue index f4fa50080..71128d2c9 100644 --- a/frontend/src/components/upload/index.vue +++ b/frontend/src/components/upload/index.vue @@ -115,12 +115,11 @@ const acceptParams = async (params: DialogProps): Promise => { const pathRes = await loadBaseDir(); if (type.value === 'mysql') { title.value = name.value + ' [ ' + detailName.value + ' ]'; - baseDir.value = `${pathRes.data}/uploads/database/mysql/${name.value}/${detailName.value}/`; } if (type.value === 'website' || type.value === 'app') { 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; search(); };