Home.js 698 Bytes
Newer Older
1 2
import React, { Component } from 'react';
import { Button } from 'antd';
sin's avatar
sin committed
3 4 5
import DictionarySelect from '@/components/Dictionary/DictionarySelect';
import DictionaryText from '@/components/Dictionary/DictionaryText';
import AuthorityControl from '@/components/AuthorityControl';
6 7 8 9 10 11

export default class Home extends Component {
  state = {};

  render() {
    return (
sin's avatar
sin committed
12
      <div>
13 14 15
        {/*<AuthorityControl authKey="home.button">*/}
          {/*<Button type="primary">按钮 控制</Button>*/}
        {/*</AuthorityControl>*/}
16
        <h1>home...</h1>
17

sin's avatar
sin committed
18 19 20
        <DictionarySelect dicKey="gender" defaultValue="1" />
        <DictionaryText dicKey="gender" dicValue="2" />
      </div>
21 22 23
    );
  }
}