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

ConditionOnSimple的作用 #1096

Open
gghxjava opened this issue Jan 4, 2024 · 1 comment
Open

ConditionOnSimple的作用 #1096

gghxjava opened this issue Jan 4, 2024 · 1 comment
Labels
type: question&discussion Further information is requested

Comments

@gghxjava
Copy link

gghxjava commented Jan 4, 2024

image

大佬我看到你的导出export上面 写了这个注解 但是我不太理解这个注解的作用 当他为true和false的时候的区别是什么
默认为true

@gghxjava gghxjava added the type: question&discussion Further information is requested label Jan 4, 2024
@tangcent
Copy link
Owner

tangcent commented Jan 7, 2024

如果走SuvExportAction,第一步展示弹窗的时候其实不需要完整地处理所有信息,所以定义了一些SimpleClassExporter只是简单地获取所有API的名称用于展示。
https://github.com/tangcent/easy-yapi/blob/master/idea-plugin/src/main/kotlin/com/itangcent/idea/plugin/api/export/condition/OnSimpleCondition.kt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question&discussion Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants