增多一些可覆盖属性
This commit is contained in:
parent
c6b9c92c4f
commit
8e0a2b4264
@ -230,10 +230,15 @@ Component({
|
||||
doView.css = Object.assign({}, doView.css, newVal.css)
|
||||
}
|
||||
}
|
||||
if (newVal.rect) {
|
||||
doView.rect = newVal.rect;
|
||||
}
|
||||
if (newVal && newVal.url && doView.url && newVal.url !== doView.url) {
|
||||
downloader.download(newVal.url, this.properties.LRU).then((path) => {
|
||||
doView.originUrl = doView.url
|
||||
doView.url = path
|
||||
doView.url = path;
|
||||
newVal.sHeight && (doView.sHeight = newVal.sHeight);
|
||||
newVal.sWidth && (doView.sWidth = newVal.sWidth);
|
||||
this.reDraw(doView, callback, isMoving)
|
||||
})
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user