This commit is contained in:
yumoqing 2024-10-24 11:33:47 +08:00
parent 517cd150d8
commit 691648791b
2 changed files with 2 additions and 0 deletions

View File

@ -48,6 +48,7 @@ bricks.Accordion = class extends bricks.VBox {
var refresh = false;
var b = event.target.bricks_widget;
var name = b.opts.name;
this.select_item(b);
bricks.debug('accordion: button=', b, 'name=', name);
var pos = -1;
for (var i=0; i< this.opts.items.length; i++){

View File

@ -460,6 +460,7 @@ bricks.App = class extends bricks.Layout {
*/
super(opts);
bricks.app = this;
bricks.bug = opts.debug or false;
bricks.Body = this;
this.deviceid = bricks.deviceid(opts.appname || 'appname');
this.login_url = opts.login_url;