修复传参bug;解压显示bug
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user