|
|
@@ -3,7 +3,6 @@ import { TreeSelect } from 'antd'
|
|
|
|
|
|
const ChangeTreeSelect = props => {
|
|
|
const { defaultValue, refinstance, options, onSave } = props
|
|
|
- console.log(options)
|
|
|
const [selectedObj, setSelectedObj] = useState({ value: defaultValue, label: '' })
|
|
|
const handleOnChange = (value, option) => {
|
|
|
let local = ''
|
|
|
@@ -20,7 +19,7 @@ const ChangeTreeSelect = props => {
|
|
|
return (
|
|
|
<div>
|
|
|
<TreeSelect
|
|
|
- className="zh-width-100P"
|
|
|
+ className="w-full"
|
|
|
placeholder="请选择上司"
|
|
|
treeDefaultExpandAll
|
|
|
allowClear
|