tiny-vue icon indicating copy to clipboard operation
tiny-vue copied to clipboard

🐛 [Bug]: Chart 文档中 loading、data-empty 属性应当为 boolean

Open hashiqi12138 opened this issue 9 months ago • 3 comments

Version

latest

Vue Version

latest

Link to minimal reproduction

Step to reproduce

What is expected

Chart 文档中 loading、data-empty 属性应当为 boolean

What is actually happening

Chart 文档中 loading、data-empty 属性应当为 boolean

What is your project name

Any additional comments (optional)

No response

hashiqi12138 avatar Mar 04 '25 12:03 hashiqi12138

Bot detected the issue body's language is not English, translate it automatically.


Title: 🐛 [Bug]: The loading and data-empty attributes in the Chart document should be boolean

Issues-translate-bot avatar Mar 04 '25 12:03 Issues-translate-bot

opentiny/tiny-vue 仓库中,我找到了与 Chart 组件相关的代码文件。以下是一些相关的文件:

  1. chart-core.ts: 这个文件包含了 Chart 组件的核心逻辑。
  2. chart.js: 这个文件定义了 Chart 组件的 API,包括 loadingdata-empty 属性。
  3. index.less: 这个文件包含了 Chart 组件的样式定义。

从代码中可以看到,loadingdata-empty 属性的类型定义可能需要检查和更新为 boolean 类型,以确保文档和代码的一致性。

如果您需要进一步的帮助或需要我进行具体的代码修改建议,请告诉我!

petercat-assistant[bot] avatar Mar 04 '25 12:03 petercat-assistant[bot]

Bot detected the issue body's language is not English, translate it automatically.


In the opentiny/tiny-vue repository, I found the code file related to the Chart component. Here are some related documents:

  1. chart-core.ts: This file contains the core logic of the Chart component.
  2. chart.js: This file defines the API of the Chart component, including the loading and data-empty properties.
  3. index.less: This file contains the style definition of the Chart component.

As you can see from the code, the type definitions of the loading and data-empty properties may need to be checked and updated to boolean types to ensure consistency between the document and the code.

If you need further help or need me to make specific code modification suggestions, please let me know!

Issues-translate-bot avatar Mar 04 '25 12:03 Issues-translate-bot