fix🛠️: 关闭Select的showSearch

This commit is contained in:
clz 2022-09-17 21:34:08 +08:00
parent 8460b89711
commit 36392b9bde
3 changed files with 9 additions and 9 deletions

View File

@ -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: {

View File

@ -41,7 +41,7 @@ export default function Pie(props: IProps) {
// },
series: [
{
// name: `${year}-${month}`,
name: "金额",
type: "pie",
radius: ['40%', '70%'],
// roseType: "radius",

View File

@ -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) =>