Browse Source

KERNEL-8279 refactor:格式

es6
Guyi 3 years ago
parent
commit
ac68cf89b6
  1. 10
      demo/app.js
  2. 2
      dist/router.js

10
demo/app.js

@ -37,7 +37,7 @@ BI.$(function () {
}, { }, {
type: "bi.router_view", type: "bi.router_view",
deps: 1, deps: 1,
height: 100, height: 100
}, { }, {
type: "bi.router_view", type: "bi.router_view",
name: 'home', name: 'home',
@ -52,13 +52,13 @@ BI.$(function () {
return Promise.resolve({ return Promise.resolve({
type: "bi.label", type: "bi.label",
text: 'default' text: 'default'
}) });
}, },
home: function () { home: function () {
return Promise.resolve({ return Promise.resolve({
type: "bi.label", type: "bi.label",
text: 'home' text: 'home'
}) });
}, },
} }
}, { }, {
@ -68,7 +68,7 @@ BI.$(function () {
return Promise.resolve({ return Promise.resolve({
type: "bi.label", type: "bi.label",
text: 'dashboard' text: 'dashboard'
}) });
} }
}, { }, {
name: 'tables', name: 'tables',
@ -77,7 +77,7 @@ BI.$(function () {
return Promise.resolve({ return Promise.resolve({
type: "bi.label", type: "bi.label",
text: 'tables' text: 'tables'
}) });
} }
}] }]
}]; }];

2
dist/router.js vendored

@ -3148,7 +3148,7 @@
BI.RouterView = BI.inherit(BI.Widget, { BI.RouterView = BI.inherit(BI.Widget, {
props: { props: {
deps: 0, deps: 0,
name: 'default', name: 'default'
}, },
created: function () { created: function () {
var self = this, o = this.options; var self = this, o = this.options;

Loading…
Cancel
Save