修复传参bug;解压显示bug

This commit is contained in:
2026-07-24 18:28:42 +08:00
parent cded249ab9
commit 48452cec2e
10 changed files with 3911 additions and 133 deletions

View File

@@ -460,6 +460,10 @@
// WYXD 查看器入口
const openWyxdViewer = (folder) => {
const filePath = folder.path.startsWith('./') ? folder.path.slice(2) : folder.path;
console.log("解析文件路径:",filePath);
console.log("folder",folder);
console.log("encode",encodeURIComponent(filePath));
console.log("encode",encodeURIComponent(folder.name));
uni.navigateTo({
url: '/pages/WYXD/WYXD?workspaceId=' + encodeURIComponent(workspaceId.value)
+ '&filePath=' + encodeURIComponent(filePath)