fix🛠️: 关闭Select的showSearch
This commit is contained in:
parent
8460b89711
commit
36392b9bde
|
@ -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: {
|
||||||
|
|
|
@ -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",
|
||||||
|
|
|
@ -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) =>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user