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

style: format code with Prettier and StandardJS #385

Closed
wants to merge 1 commit into from

Conversation

deepsource-autofix[bot]
Copy link
Contributor

This commit fixes the style issues introduced in 21feadc according to the output
from Prettier and StandardJS.

Details: None

This commit fixes the style issues introduced in 21feadc according to the output
from Prettier and StandardJS.

Details: None
Copy link

vercel bot commented Sep 2, 2024

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

Name Status Preview Comments Updated (UTC)
pro-react-admin ❌ Failed (Inspect) Sep 2, 2024 8:54am

Copy link

what-the-diff bot commented Sep 2, 2024

PR摘要

  • 修改useTable组件
    useTable组件中loading状态已经被改为!dataInterface。同时,onChange以及getTableList的功能也同样发生了改变。
  • 修改IntervalInput组件
    IntervalInput组件的minValue以及maxValue状态现在使用useState(null)来取代之前的useState(''),并且handleMinChangehandleMaxChange的功能都发生了改变。
  • 修改了SearchForm组件
    SearchForm组件的datescheckboxes状态现在使用useState([])来取代之前的useState(null)。为适应不同形式的表格输入,getFormItemHtml的功能也发生了改变。_onFinish_exportResultreset以及onFieldsChange的功能都发生了改进。
  • 修改了saveHtmlToPng功能
    为了改进图片的保存,使用了useCORS: true来优化html2canvas功能。
  • 修改了exportExcel功能
    exportExcel功能中的blob类型现已修改为'application/vnd.ms-excel; charset=UTF-8'。对于文件名以及编码的处理,disposition以及disName变量也做出了相应的改变。

Copy link

sonarqubecloud bot commented Sep 2, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
9.3% Duplication on New Code (required ≤ 3%)

See analysis details on SonarCloud

@wkylin wkylin closed this Sep 9, 2024
@wkylin wkylin deleted the deepsource-transform-a5667c3d branch September 9, 2024 03:16
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.

1 participant