Skip to content

Commit

Permalink
fix: 🐛 修复GField参数报错问题
Browse files Browse the repository at this point in the history
  • Loading branch information
G committed Dec 15, 2023
1 parent 5918b6a commit ecf1d8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gbeata/src/GField/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ import { GSearchTableField } from '../GSearchTable/g-search-table';
type CommonField = GFormField | GSearchTableField;

// 优化后的函数接收 CommonField 类型的参数
export default function GField() {
export default function GField(field: CommonField) {
return null;
}

0 comments on commit ecf1d8a

Please sign in to comment.