fix:游客上传

This commit is contained in:
lan
2024-06-16 19:18:07 +08:00
parent 7804e36b0d
commit 282f44e257
17 changed files with 2 additions and 383 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ const handleOnChangeFileList = (file: any) => {
const handleHttpRequest = (options: any) => {
fileBoxStore.showFileBox = true;
const formData = new FormData();
if (config.openUpload === 0 || localStorage.getItem('adminPassword') === null) {
if (config.openUpload === 0 && localStorage.getItem('adminPassword') === null) {
fileStore.shareData.forEach((file: any) => {
if (file.uid === options.file.uid) {
ElMessage.error(t('msg.uploadClose'));