正在显示
3 个修改的文件
包含
8 行增加
和
2 行删除
@@ -16,7 +16,8 @@ | @@ -16,7 +16,8 @@ | ||
16 | }, | 16 | }, |
17 | "devDependencies": { | 17 | "devDependencies": { |
18 | "umi": "^2.0.0", | 18 | "umi": "^2.0.0", |
19 | - "umi-plugin-block-dev": "^1.0.0" | 19 | + "umi-plugin-block-dev": "^1.0.0", |
20 | + "umi-plugin-react": "^1.2.3" | ||
20 | }, | 21 | }, |
21 | "author": "yutingzhao1991 <yutingzhao1991@sina.com>", | 22 | "author": "yutingzhao1991 <yutingzhao1991@sina.com>", |
22 | "license": "ISC" | 23 | "license": "ISC" |
1 | import { getText } from '@/utils/helper'; | 1 | import { getText } from '@/utils/helper'; |
2 | import styles from './index.less'; | 2 | import styles from './index.less'; |
3 | +import React from 'react'; | ||
4 | +import { Button } from 'antd'; | ||
3 | 5 | ||
4 | export default () => { | 6 | export default () => { |
5 | - return <div className={styles.container}>{getText()}</div> | 7 | + return <Button className={styles.container}>{getText()}</Button> |
6 | } | 8 | } |
请
注册
或
登录
后发表评论