image: fix absolute path & reset to 'default' instead of 'value' when receiving an empty value
This commit is contained in:
parent
c85c2ad2c4
commit
88a3d8da2a
2 changed files with 5 additions and 2 deletions
|
|
@ -57,7 +57,7 @@ module.exports = class Image extends StaticProperties(Widget, {bypass: true}) {
|
|||
|
||||
if (!s.length) {
|
||||
|
||||
this.value = this.getProp('value')
|
||||
this.value = this.getProp('default')
|
||||
|
||||
} else if (s != 'reload') {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue