bugfix
This commit is contained in:
parent
30a3050c4c
commit
7da3744eeb
@ -555,9 +555,8 @@ bricks.UiImage =class extends bricks.UiFile {
|
|||||||
constructor(opts){
|
constructor(opts){
|
||||||
opts.name = opts.name || 'image';
|
opts.name = opts.name || 'image';
|
||||||
opts.width = opts.width || '100%';
|
opts.width = opts.width || '100%';
|
||||||
opts.accept = 'image/*';
|
opts.accept = 'image/';
|
||||||
super(opts);
|
super(opts);
|
||||||
this.input.accept = 'image/*';
|
|
||||||
this.uitype='image';
|
this.uitype='image';
|
||||||
this.camera_w = new bricks.Svg({
|
this.camera_w = new bricks.Svg({
|
||||||
url:bricks_resource('imgs/camera.svg'),
|
url:bricks_resource('imgs/camera.svg'),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user