快速搭建fineui开发环境。
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.

28 lines
578 B

3 years ago
import { shortcut } from '@core/decorator';
import './home.less';
/**
*
*/
@shortcut()
export class Home extends BI.Widget {
static xtype = 'app.home';
public props: HomeProps = {
baseCls: 'app-home',
cardName: '',
};
public render() {
const { cardName } = this.options;
const labelText = `我是一级菜单 ${cardName} 的首页`;
return <BI.Label cls="bi-high-light" text={labelText} />;
}
}
interface HomeProps {
baseCls: string;
cardName: string;
}