image: avoid type error
This commit is contained in:
parent
a2f2f89aab
commit
7fb857e670
1 changed files with 2 additions and 0 deletions
|
|
@ -55,6 +55,8 @@ module.exports = class Image extends StaticProperties(Widget, {bypass: true}) {
|
|||
|
||||
setValue(v, options={}) {
|
||||
|
||||
if (typeof this.value !== 'string') return
|
||||
|
||||
var s = v==null ? '' : '' + v,
|
||||
cache_query = ''
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue