|
|
@@ -544,7 +544,7 @@ const inContent = async (attachment) => {
|
|
|
// 直接使用 attachment.filePath
|
|
|
const filePath = attachment.filePath
|
|
|
// 确保 filePath 是编码后的格式
|
|
|
- const encodedPath = encodeURIComponent(filePath)
|
|
|
+ const encodedPath = encodeURIComponent(Base64.encode(filePath))
|
|
|
|
|
|
// 打开预览窗口
|
|
|
window.open(`http://doc.deepoil.cc:8012/onlinePreview?url=${encodedPath}`)
|