fix🛠️: 关闭Select的showSearch
This commit is contained in:
parent
8460b89711
commit
36392b9bde
|
@ -48,6 +48,12 @@ export const Bar = (props: IProps) => {
|
|||
},
|
||||
series: [
|
||||
{
|
||||
type: "bar",
|
||||
label: {
|
||||
show: true,
|
||||
position: "top",
|
||||
margin: 8
|
||||
},
|
||||
data: data.map(item => {
|
||||
return {
|
||||
value: item.y,
|
||||
|
@ -56,12 +62,6 @@ export const Bar = (props: IProps) => {
|
|||
}
|
||||
}
|
||||
}),
|
||||
type: "bar",
|
||||
label: {
|
||||
show: true,
|
||||
position: "top",
|
||||
margin: 8
|
||||
},
|
||||
},
|
||||
],
|
||||
tooltip: {
|
||||
|
|
|
@ -41,7 +41,7 @@ export default function Pie(props: IProps) {
|
|||
// },
|
||||
series: [
|
||||
{
|
||||
// name: `${year}-${month}`,
|
||||
name: "金额",
|
||||
type: "pie",
|
||||
radius: ['40%', '70%'],
|
||||
// roseType: "radius",
|
||||
|
|
|
@ -161,7 +161,7 @@ function Record() {
|
|||
<Select
|
||||
ref={clsRef}
|
||||
style={{width: 120}}
|
||||
showSearch
|
||||
// showSearch
|
||||
placeholder="类别"
|
||||
optionFilterProp="children"
|
||||
filterOption={(input, option) =>
|
||||
|
@ -180,7 +180,7 @@ function Record() {
|
|||
{billType === BillType.consume && (
|
||||
<Select
|
||||
style={{width: 120}}
|
||||
showSearch
|
||||
// showSearch
|
||||
placeholder="标签"
|
||||
optionFilterProp="children"
|
||||
filterOption={(input, option) =>
|
||||
|
|
Loading…
Reference in New Issue
Block a user