Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support self operator #3

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from
Open

Support self operator #3

wants to merge 4 commits into from

Conversation

xgyyx
Copy link

@xgyyx xgyyx commented Aug 8, 2022

支持自定义操作符

@xgyyx xgyyx requested a review from nuysoft August 8, 2022 03:41
@@ -153,11 +154,12 @@ function RuleGroupNode ({ node, depth = 0, hasBackground, hasBorder }: { node: I
interface IRuleEditorProps {
models: IRuleModel[];
content: IRuleGroupNode;
operators?: INextRecord[];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

类型声明的命名似乎不合理

@@ -15,13 +15,20 @@ const GlobalStyle = createGlobalStyle`
.GlobalStyle.styled {}
`

const selfOperators = [
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

操作符应该需要根据字段类型做适配

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants