修改PDF上传

This commit is contained in:
RenCheng 2025-06-06 22:03:57 +08:00
parent 30c1d019f5
commit cf08bbe7ee
4 changed files with 13 additions and 4 deletions

View File

@ -1,4 +1,4 @@
NODE_ENV=development
VUE_APP_API_BASE_URL=http://pbl1.natapp1.cc/jeecg-boot
VUE_APP_API_BASE_URL=http://r4ba683f.natappfree.cc/jeecg-boot
VUE_APP_CAS_BASE_URL=http://cas.example.org:8443/cas
VUE_APP_ONLINE_BASE_URL=http://fileview.jeecg.com/onlinePreview

View File

@ -62,6 +62,10 @@ const err = (error) => {
}
})
}
})
store.dispatch('Logout').then(() => {
Vue.ls.remove(ACCESS_TOKEN)
window.location.reload()
})
// update-end- --- author:scott ------ date:20190225 ---- for:Token失效采用弹框模式不直接跳转----
}
@ -157,6 +161,10 @@ function blobToJson(data) {
})
}
})
store.dispatch('Logout').then(() => {
Vue.ls.remove(ACCESS_TOKEN)
window.location.reload()
})
}
}
} catch (err) {

View File

@ -16,7 +16,7 @@
:box-height="50"
:max-file="999999"
:can-download="false"
accept=".txt,.doc,.docx,.xls,.xlsx,.wps,.et,.csv,.xml,.json,.mp3,.mp4,.avi,.wmv,.jpg,.bmp,.png,.sql,.db,.dmp"
accept=".txt,.doc,.docx,.xls,.xlsx,.wps,.et,.csv,.xml,.json,.mp3,.mp4,.avi,.wmv,.jpg,.bmp,.png,.sql,.db,.dmp,.pdf"
/>
</a-spin>
</a-modal>

View File

@ -182,11 +182,12 @@
deleteAllFile({}).then((res) => {
if (res.success) {
this.$message.success(res.result);
this.ipagination.total = 0;
this.ipagination.current = 1;
} else {
this.$message.warning(res.message);
}
this.ipagination.total = 0;
this.ipagination.current = 1;
this.loadData();
});
this.$refs.modalForm.open();
},