Skip to content

Commit 956d37d

Browse files
committed
保留原url
1 parent c0cddf1 commit 956d37d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/painter/painter.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,7 @@ Component({
620620
preCount++;
621621
/* eslint-disable no-loop-func */
622622
downloader.download(view.url).then((path) => {
623+
view.originUrl = view.url;
623624
view.url = path;
624625
wx.getImageInfo({
625626
src: view.url,

0 commit comments

Comments
 (0)