This commit is contained in:
yumoqing 2024-10-28 16:47:29 +08:00
parent 80edde8bb6
commit 7a2023446d

View File

@ -7,7 +7,6 @@ bricks.BaseRunning = class extends bricks.FHBox {
} }
*/ */
constructor(opts){ constructor(opts){
opts.width = opts.width || 'auto';
super(opts); super(opts);
this.icon_w = new bricks.Icon({ this.icon_w = new bricks.Icon({
url:opts.icon || bricks_resource('imgs/running.gif') url:opts.icon || bricks_resource('imgs/running.gif')
@ -16,7 +15,6 @@ bricks.BaseRunning = class extends bricks.FHBox {
text:'test123', text:'test123',
color:'#222', color:'#222',
wrap:false, wrap:false,
width:'50px',
i18n:false i18n:false
}); });
this.time_start = new Date().getTime(); this.time_start = new Date().getTime();