Commit e2f049d1 by linjinhong

fix:修改问题

parent 215c937e
...@@ -49,7 +49,7 @@ import SearchForm from '@/components/SearchForm.tsx' ...@@ -49,7 +49,7 @@ import SearchForm from '@/components/SearchForm.tsx'
import CustomizeTable from '@/components/VxeTable.tsx' import CustomizeTable from '@/components/VxeTable.tsx'
import usePageList from '@/utils/hooks/usePageList' import usePageList from '@/utils/hooks/usePageList'
import { useValue } from '@/utils/hooks/useValue' import { useValue } from '@/utils/hooks/useValue'
// import { filePath } from '@/api/axios' import { filePath } from '@/api/axios'
import { Delete, Download } from '@element-plus/icons-vue' import { Delete, Download } from '@element-plus/icons-vue'
...@@ -227,7 +227,7 @@ function handleCheckboxRecords(value: never[]) { ...@@ -227,7 +227,7 @@ function handleCheckboxRecords(value: never[]) {
} }
function downloadFn(data: { fileUrl: string }) { function downloadFn(data: { fileUrl: string }) {
window.open('http://10.168.1.209//upload/factory' + data.fileUrl, '_blank') window.open(filePath + data.fileUrl, '_blank')
console.log(248, data) console.log(248, data)
} }
async function deleteFn(id?: string | number) { async function deleteFn(id?: string | number) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment