Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
galaxy-iOS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mobile-group
galaxy-iOS
Commits
39ab43e5
Commit
39ab43e5
authored
Apr 22, 2025
by
Alex朱枝文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化下载图片使用缓存
parent
1d886d67
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
YHH5WebViewVC.swift
.../Classes/Modules/InteractionH5(与H5交互)/YHH5WebViewVC.swift
+1
-1
YHLongtapPictureSheetView.swift
...dules/PictureReview(图片预览)/YHLongtapPictureSheetView.swift
+1
-1
YHPictureBrowserViewController.swift
.../PictureReview(图片预览)/YHPictureBrowserViewController.swift
+1
-1
No files found.
galaxy/galaxy/Classes/Modules/InteractionH5(与H5交互)/YHH5WebViewVC.swift
View file @
39ab43e5
...
...
@@ -747,7 +747,7 @@ extension YHH5WebViewVC {
YHHUD
.
flash
(
message
:
"保存失败"
)
return
}
ImageDownloader
.
default
.
downloadImage
(
with
:
url
,
options
:
ni
l
)
{
result
in
KingfisherManager
.
shared
.
retrieveImage
(
with
:
ur
l
)
{
result
in
switch
result
{
case
.
success
(
let
imageLoadingResult
):
self
.
saveImage
(
imageLoadingResult
.
image
)
...
...
galaxy/galaxy/Classes/Modules/PictureReview(图片预览)/YHLongtapPictureSheetView.swift
View file @
39ab43e5
...
...
@@ -244,7 +244,7 @@ private extension YHLongtapPictureSheetView {
YHHUD
.
flash
(
message
:
"保存失败"
)
return
}
ImageDownloader
.
default
.
downloadImage
(
with
:
url
,
options
:
ni
l
)
{
result
in
KingfisherManager
.
shared
.
retrieveImage
(
with
:
ur
l
)
{
result
in
switch
result
{
case
.
success
(
let
imageLoadingResult
):
self
.
saveImage
(
imageLoadingResult
.
image
)
...
...
galaxy/galaxy/Classes/Modules/PictureReview(图片预览)/YHPictureBrowserViewController.swift
View file @
39ab43e5
...
...
@@ -73,7 +73,7 @@ class YHPictureBrowserViewController: JXPhotoBrowser {
YHHUD
.
flash
(
message
:
"保存失败"
)
return
}
ImageDownloader
.
default
.
downloadImage
(
with
:
url
,
options
:
ni
l
)
{
result
in
KingfisherManager
.
shared
.
retrieveImage
(
with
:
ur
l
)
{
result
in
switch
result
{
case
.
success
(
let
imageLoadingResult
):
self
.
saveImage
(
imageLoadingResult
.
image
)
...
...
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