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.
 
 
 

27 lines
708 B

import { shortcut, Widget } from "@/core";
import { Msg } from "@/base";
@shortcut()
export class Message extends Widget {
static xtype = "demo.message";
props = { baseCls: "demo-bubble" };
render() {
return {
type: "bi.center_adapt",
items: [
{
el: {
type: "bi.button",
text: "点击我弹出一个消息框",
height: 30,
handler() {
Msg.alert("测试消息框", "我是测试消息框的内容");
},
},
}
],
};
}
}