|
@@ -28,6 +28,11 @@ const loadedPDF=()=>{
|
|
|
showHint.value = false
|
|
|
}
|
|
|
const getPDFDetail = (pdf_id)=>{
|
|
|
+ if(!pdf_id){
|
|
|
+ ElMessage.error('未找到PDF')
|
|
|
+ LOADING&&LOADING.close()
|
|
|
+ return
|
|
|
+ }
|
|
|
apiGetPDFDetail({pdf_id}).then(res=>{
|
|
|
if(res.code!==200) return
|
|
|
pdfState.pdf_url = res.data.pdf_url
|