fix
This commit is contained in:
parent
045bc344b8
commit
e6f7c54e97
@ -247,7 +247,7 @@ Component({
|
|||||||
|
|
||||||
const doView = this.touchedView
|
const doView = this.touchedView
|
||||||
|
|
||||||
if (!doView) {
|
if (!doView || this.isEmpty(doView)) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (newVal && newVal.css) {
|
if (newVal && newVal.css) {
|
||||||
@ -268,7 +268,9 @@ Component({
|
|||||||
}
|
}
|
||||||
if (newVal && newVal.url && doView.url && newVal.url !== doView.url) {
|
if (newVal && newVal.url && doView.url && newVal.url !== doView.url) {
|
||||||
downloader.download(newVal.url, this.properties.LRU).then((path) => {
|
downloader.download(newVal.url, this.properties.LRU).then((path) => {
|
||||||
doView.originUrl = newVal.url
|
if (newVal.url.startsWidth('https')) {
|
||||||
|
doView.originUrl = newVal.url
|
||||||
|
}
|
||||||
doView.url = path;
|
doView.url = path;
|
||||||
wx.getImageInfo({
|
wx.getImageInfo({
|
||||||
src: path,
|
src: path,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user