Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
b181a9b6
Commit
b181a9b6
authored
Dec 08, 2021
by
gxkai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: windows打不开压缩文件
parent
78845bee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
index.ts
libs/remix-ui/workspace/src/lib/actions/index.ts
+1
-1
No files found.
libs/remix-ui/workspace/src/lib/actions/index.ts
View file @
b181a9b6
...
...
@@ -243,7 +243,7 @@ export const downloadFile = async (folder?: string) => {
await
fileProviders
.
browser
.
copyFolderToJson
(
'/'
,
({
path
,
content
})
=>
{
const
path$
=
path
.
replace
(
/
\/([^\/]
*
)\/
/
,
''
)
if
(
path$
.
startsWith
(
folder
))
{
zip
.
file
(
path$
,
content
)
zip
.
file
(
path$
,
content
,
{
binary
:
true
}
)
}
})
zip
.
generateAsync
({
type
:
'blob'
}).
then
(
function
(
blob
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment