Skip to content

Style/beautify code#959

Merged
siyi98 merged 3 commits intoalibaba:masterfrom
jaw52:style/beautify_code
Nov 18, 2022
Merged

Style/beautify code#959
siyi98 merged 3 commits intoalibaba:masterfrom
jaw52:style/beautify_code

Conversation

@jaw52
Copy link
Copy Markdown
Contributor

@jaw52 jaw52 commented Nov 17, 2022

  1. 类名管理交给classnames
  2. 修复单元测试

Snipaste_2022-11-17_22-26-47
4.
image

@vercel
Copy link
Copy Markdown

vercel Bot commented Nov 17, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
x-render ✅ Ready (Inspect) Visit Preview Nov 17, 2022 at 3:04PM (UTC)

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Nov 17, 2022

CLA assistant check
All committers have signed the CLA.

Copy link
Copy Markdown
Collaborator

@siyi98 siyi98 left a comment

Choose a reason for hiding this comment

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

LGTM

@siyi98 siyi98 merged commit d2ebed9 into alibaba:master Nov 18, 2022
siyi98 added a commit that referenced this pull request Nov 21, 2022
* fix: use nanoid instead of randombytes in browser (#949)

* feat(generator): v2.8.3

* fix(fr): 修复 drawerList 表头显示异常的问题

* feat(fr): v1.13.20

* feat(docs): update

* fix(fr): tableList title

* feat(fr): v1.13.21

* feat(tr): improve types

* feat(tr): v1.3.9

* feat(tr): update changelog

* feat(tr): dateTime 格式化为 YYYY-MM-DD HH:mm:ss

* feat(tr): v1.3.10

* chore: merge windows start command (#956)

* fix: fr-generator editor styles

* Style/beautify code (#959)

* style: use classnames to manage

1. clean code

* test: fix test error

* fix: ui error

* feat(fr): support flex style for object type

Co-authored-by: Johny.Li <gradle@qq.com>
Co-authored-by: siyi98 <zhusijia1998@gmail.com>
Co-authored-by: 糠帅傅 <53564781+jaw52@users.noreply.github.com>
siyi98 added a commit that referenced this pull request Nov 21, 2022
* feat: support react18

* feat(fr): cardList和simpleList支持自定义新增按钮

* feat(fr): update docs

* feat(fr): 添加add-widget和methods类型声明

* list 增加 onAdd、onRemove 事件

* list 增加 onAdd、onRemove 事件

* 增加 列表展上文档,补充 onAdd、onRemove 扩展

* v1.1.0-beta.2

* v1.1.0-beta.1

* chore: 发布beta版本

* feat(fr): v1.13.17-beta.2

* docs(fr): udpate docs

* feat: 修改 onValuesChange 入参形式

* 0.0.1-0

* feat(fr): v1.13.17-beta.3

* feat(fr): 更新 onValuesChange 类型声明

* feat(fr): v1.13.17-beta.4

* feat(fr): udpate changelog

* feat(fr): v1.13.17

* feat(fr): widget add memo

* feat(fr): v1.13.18-beta.0

* [+] 增加 void 支持, 可以让 data 的结构和 schema 结构有区别

数据中会自动忽略 $void_xxx 的 key, $void_xxx 的数据会自动放到上一层.

* feat(fr): update changelog

* fix: Search组件在searchOnMount参数和onMount都存在时,先执行onMount;

* feat(fr): support flex style for object type (#961)

* fix: use nanoid instead of randombytes in browser (#949)

* feat(generator): v2.8.3

* fix(fr): 修复 drawerList 表头显示异常的问题

* feat(fr): v1.13.20

* feat(docs): update

* fix(fr): tableList title

* feat(fr): v1.13.21

* feat(tr): improve types

* feat(tr): v1.3.9

* feat(tr): update changelog

* feat(tr): dateTime 格式化为 YYYY-MM-DD HH:mm:ss

* feat(tr): v1.3.10

* chore: merge windows start command (#956)

* fix: fr-generator editor styles

* Style/beautify code (#959)

* style: use classnames to manage

1. clean code

* test: fix test error

* fix: ui error

* feat(fr): support flex style for object type

Co-authored-by: Johny.Li <gradle@qq.com>
Co-authored-by: siyi98 <zhusijia1998@gmail.com>
Co-authored-by: 糠帅傅 <53564781+jaw52@users.noreply.github.com>

* feat(fr): update changelog

Co-authored-by: zhanbo.lh <zhanbo.lh@alibaba-inc.com>
Co-authored-by: yanxi <blogbbs@gmail.com>
Co-authored-by: Liuchang <Lchang0724@163.com>
Co-authored-by: zhichaosong <494303515@qq.com>
Co-authored-by: Johny.Li <gradle@qq.com>
Co-authored-by: 糠帅傅 <53564781+jaw52@users.noreply.github.com>
@jaw52 jaw52 deleted the style/beautify_code branch November 21, 2022 15:08
siyi98 added a commit that referenced this pull request Nov 23, 2022
* chore(generator): fix style

* feat(fr): v1.14.0 (#964)

* feat: support react18

* feat(fr): cardList和simpleList支持自定义新增按钮

* feat(fr): update docs

* feat(fr): 添加add-widget和methods类型声明

* list 增加 onAdd、onRemove 事件

* list 增加 onAdd、onRemove 事件

* 增加 列表展上文档,补充 onAdd、onRemove 扩展

* v1.1.0-beta.2

* v1.1.0-beta.1

* chore: 发布beta版本

* feat(fr): v1.13.17-beta.2

* docs(fr): udpate docs

* feat: 修改 onValuesChange 入参形式

* 0.0.1-0

* feat(fr): v1.13.17-beta.3

* feat(fr): 更新 onValuesChange 类型声明

* feat(fr): v1.13.17-beta.4

* feat(fr): udpate changelog

* feat(fr): v1.13.17

* feat(fr): widget add memo

* feat(fr): v1.13.18-beta.0

* [+] 增加 void 支持, 可以让 data 的结构和 schema 结构有区别

数据中会自动忽略 $void_xxx 的 key, $void_xxx 的数据会自动放到上一层.

* feat(fr): update changelog

* fix: Search组件在searchOnMount参数和onMount都存在时,先执行onMount;

* feat(fr): support flex style for object type (#961)

* fix: use nanoid instead of randombytes in browser (#949)

* feat(generator): v2.8.3

* fix(fr): 修复 drawerList 表头显示异常的问题

* feat(fr): v1.13.20

* feat(docs): update

* fix(fr): tableList title

* feat(fr): v1.13.21

* feat(tr): improve types

* feat(tr): v1.3.9

* feat(tr): update changelog

* feat(tr): dateTime 格式化为 YYYY-MM-DD HH:mm:ss

* feat(tr): v1.3.10

* chore: merge windows start command (#956)

* fix: fr-generator editor styles

* Style/beautify code (#959)

* style: use classnames to manage

1. clean code

* test: fix test error

* fix: ui error

* feat(fr): support flex style for object type

Co-authored-by: Johny.Li <gradle@qq.com>
Co-authored-by: siyi98 <zhusijia1998@gmail.com>
Co-authored-by: 糠帅傅 <53564781+jaw52@users.noreply.github.com>

* feat(fr): update changelog

Co-authored-by: zhanbo.lh <zhanbo.lh@alibaba-inc.com>
Co-authored-by: yanxi <blogbbs@gmail.com>
Co-authored-by: Liuchang <Lchang0724@163.com>
Co-authored-by: zhichaosong <494303515@qq.com>
Co-authored-by: Johny.Li <gradle@qq.com>
Co-authored-by: 糠帅傅 <53564781+jaw52@users.noreply.github.com>

* feat(fr): v1.14.0

* feat(fr): 修复样式问题

* feat(fr): v1.14.1

* feat(generator): 修复generator样式

* feat(generator): v2.8.4

* feat(fr): v1.14.2

* feat: pass methods

* feat(generator): pass methods

Co-authored-by: siyi98 <zhusijia1998@gmail.com>
Co-authored-by: zhanbo.lh <zhanbo.lh@alibaba-inc.com>
Co-authored-by: yanxi <blogbbs@gmail.com>
Co-authored-by: Liuchang <Lchang0724@163.com>
Co-authored-by: zhichaosong <494303515@qq.com>
Co-authored-by: Johny.Li <gradle@qq.com>
Co-authored-by: 糠帅傅 <53564781+jaw52@users.noreply.github.com>
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.

3 participants