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: [ series: [
{ {
type: "bar",
label: {
show: true,
position: "top",
margin: 8
},
data: data.map(item => { data: data.map(item => {
return { return {
value: item.y, value: item.y,
@ -56,12 +62,6 @@ export const Bar = (props: IProps) => {
} }
} }
}), }),
type: "bar",
label: {
show: true,
position: "top",
margin: 8
},
}, },
], ],
tooltip: { tooltip: {

View File

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

View File

@ -161,7 +161,7 @@ function Record() {
<Select <Select
ref={clsRef} ref={clsRef}
style={{width: 120}} style={{width: 120}}
showSearch // showSearch
placeholder="类别" placeholder="类别"
optionFilterProp="children" optionFilterProp="children"
filterOption={(input, option) => filterOption={(input, option) =>
@ -180,7 +180,7 @@ function Record() {
{billType === BillType.consume && ( {billType === BillType.consume && (
<Select <Select
style={{width: 120}} style={{width: 120}}
showSearch // showSearch
placeholder="标签" placeholder="标签"
optionFilterProp="children" optionFilterProp="children"
filterOption={(input, option) => filterOption={(input, option) =>