fix:游客上传
This commit is contained in:
1 parent
7804e36b0d
commit
282f44e257
17 files changed
+2
-383
No files matched your search
@@ -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'));
|
||||
|
||||
Reference in new issue
Block a user