fix: remove unused token parameter from previewHistoryUrl function

This commit is contained in:
jmal 2025-08-22 20:32:20 +08:00
parent 74e4b5b3c7
commit 2ad7178460

View File

@ -58,7 +58,7 @@ export default {
return `${baseUrl}/share-file/${file.id}/${encodeURIComponent(file.name)}`
},
// 预览历史文件
previewHistoryUrl: function(historyId, name, token) {
previewHistoryUrl: function(historyId) {
return `${this.baseUrl}/history/preview/file?id=${historyId}`
},
// markdown里上传图片后的图片预览地址