调整专网查看pdfIP

main
yanzai 4 months ago
parent 4a1c196225
commit a65bc762c8

@ -114,6 +114,17 @@
loading.value = false
if (res.status) {
tableData.value = res.data.list
if(BaseFileUrl.includes('172.31.68.39')){
const oldIp = '192.168.50.123';
const newIp = '172.31.68.39';
tableData.value.forEach(item => {
if (typeof item.pdf_url === 'string') {
item.pdf_url = item.pdf_url.replace(new RegExp(oldIp, 'g'), newIp);
}
});
}
total = res.data.count
} else {
ElMessage.error(res.msg)

Loading…
Cancel
Save