Commit 86625b22 authored by 罗超's avatar 罗超

修改预览路径

parent 629af32b
......@@ -209,7 +209,7 @@ const getDocumentData = async () => {
}
const openFileDocument = (item:any) => {
let param = query()
const url = `${location.origin}/?uid=${param.uid}&sellId=${item.FileId}&ViewSlideshow=1`
const url = `${location.origin}/?uid=${param.uid}&sellId=${item.FileId}&ViewSlideshow=2`
window.open(url);
}
const exportDocument = (item:any) => {
......
......@@ -271,7 +271,7 @@ import CopyFile from "./CopyFile.vue";
}
const viewTemplate = (row:any) => {
let param = query()
const url = `${location.origin}?uid=${param.uid}&sellId=${row.FileId}&ViewSlideshow=2`
const url = `${location.origin}?uid=${param.uid}&sellId=${row.FileId}&ViewSlideshow=${props.currentMenu==-1?1:2}`
window.open(url);
}
const handleSelectionChange = (val: []) =>{
......
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