fineui是帆软报表和BI产品线所使用的前端框架。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

34 lines
672 B

import { shortcut } from "@/core";
import { Pane as BIPane } from "@/base";
@shortcut()
export class Pane extends BIPane {
static xtype = "demo.pane";
props = {};
mounted() {
console.log("loading pane mounted");
}
render() {
return {
type: "bi.center_adapt",
items: [
{
type: "bi.label",
text: "this is pane center",
}
],
};
}
beforeRender(callback) {
const self = this;
this.loading();
setTimeout(() => {
self.loaded();
callback();
}, 3000);
}
}