🐛 [Bug]: Chart 文档中 loading、data-empty 属性应当为 boolean
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
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
在 opentiny/tiny-vue 仓库中,我找到了与 Chart 组件相关的代码文件。以下是一些相关的文件:
- chart-core.ts: 这个文件包含了 Chart 组件的核心逻辑。
- chart.js: 这个文件定义了 Chart 组件的 API,包括
loading和data-empty属性。 - index.less: 这个文件包含了 Chart 组件的样式定义。
从代码中可以看到,loading 和 data-empty 属性的类型定义可能需要检查和更新为 boolean 类型,以确保文档和代码的一致性。
如果您需要进一步的帮助或需要我进行具体的代码修改建议,请告诉我!
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:
- chart-core.ts: This file contains the core logic of the Chart component.
- chart.js: This file defines the API of the Chart component, including the
loadinganddata-emptyproperties. - 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!