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

2
dist/router.js vendored

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

Loading…
Cancel
Save