|
@@ -261,11 +261,11 @@ const deleteInfo= async (id) =>{
|
|
}
|
|
}
|
|
})
|
|
})
|
|
}
|
|
}
|
|
-const handleFileView = (url: string) => {
|
|
|
|
- window.open(
|
|
|
|
- 'http://1.94.244.160:8012/onlinePreview?url=' + encodeURIComponent(Base64.encode(url))
|
|
|
|
- )
|
|
|
|
-}
|
|
|
|
|
|
+// const handleFileView = (url: string) => {
|
|
|
|
+// window.open(
|
|
|
|
+// 'http://1.94.244.160:8012/onlinePreview?url=' + encodeURIComponent(Base64.encode(url))
|
|
|
|
+// )
|
|
|
|
+// }
|
|
const handleDelete = async (id: number) => {
|
|
const handleDelete = async (id: number) => {
|
|
try {
|
|
try {
|
|
// 删除的二次确认
|
|
// 删除的二次确认
|
|
@@ -327,7 +327,7 @@ const updateBreadcrumbs = async (node) => {
|
|
// 表格行点击事件
|
|
// 表格行点击事件
|
|
const inContent = async (row) => {
|
|
const inContent = async (row) => {
|
|
if (row.fileType!='content') {
|
|
if (row.fileType!='content') {
|
|
- window.open('http://1.94.244.160:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(row.filePath)));
|
|
|
|
|
|
+ window.open('http://doc.deepoil.cc:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(row.filePath)));
|
|
return
|
|
return
|
|
}
|
|
}
|
|
queryParams.filename = ''
|
|
queryParams.filename = ''
|