正在显示
3 个修改的文件
包含
16 行增加
和
17 行删除
1 | 1 | export default { |
2 | 2 | plugins: [ |
3 | - ['umi-plugin-block-dev', { | |
4 | - layout: 'ant-design-pro', | |
5 | - }], | |
6 | - ['umi-plugin-react', { | |
7 | - dva: true, | |
8 | - locale: true, | |
9 | - antd: true, | |
10 | - }] | |
3 | + [ | |
4 | + 'umi-plugin-block-dev', | |
5 | + { | |
6 | + layout: 'ant-design-pro', | |
7 | + }, | |
8 | + ], | |
9 | + [ | |
10 | + 'umi-plugin-react', | |
11 | + { | |
12 | + dva: true, | |
13 | + locale: true, | |
14 | + antd: true, | |
15 | + }, | |
16 | + ], | |
11 | 17 | ], |
12 | -} | |
18 | +}; | ... | ... |
... | ... | @@ -11,15 +11,8 @@ import styles from './style.less'; |
11 | 11 | |
12 | 12 | const { Pie, WaterWave, Gauge, TagCloud } = Charts; |
13 | 13 | |
14 | - | |
15 | 14 | const targetTime = new Date().getTime() + 3900000; |
16 | 15 | |
17 | -// use permission as a parameter | |
18 | -const havePermissionAsync = new Promise(resolve => { | |
19 | - // Call resolve on behalf of passed | |
20 | - setTimeout(() => resolve(), 300); | |
21 | -}); | |
22 | - | |
23 | 16 | @connect(({ monitor, loading }) => ({ |
24 | 17 | monitor, |
25 | 18 | loading: loading.models.monitor, | ... | ... |
请
注册
或
登录
后发表评论