echarts-bot[bot] commented on issue #19745:
URL: https://github.com/apache/echarts/issues/19745#issuecomment-2014469829
@ykvou It seems you are not using English, I've helped translate the content
automatically. To make your issue understood by more people and get helped,
we'd like to suggest using English next time. 🤗
<details><summary><b>TRANSLATED</b></summary><br>
**TITLE**
[Bug] The introduction of echarts into the Vue3 project will cause the
problem of isFunction is not a function
**BODY**
### Version
5.4.3
### Link to Minimal Reproduction
none
### Steps to Reproduce
The technology stack used in this project is vue+ts+vite. The version of vue
is 3.3.4. After installing echarts in the project and introducing it into the
component, after running the project, the console reports the following error
message:
```
Uncaught TypeError: isFunction is not a function
at defineComponent (runtime-core.esm-bundler.js:2252:10)
at index.js:6:16
```
Is it a version incompatibility issue? Which version can be used normally?
### Current Behavior
1. Once echarts is installed in the project, there will be a problem of
`isFunction is not a function`. After uninstalling echarts, the problem will be
solved and the project will run normally.
2. I also encountered the same problem when using the third-party library
vue-smooth-dnd. After replacing it with vue3-smooth-dnd, the problem was
solved. Is it because echarts is not compatible with vue@3? Is there any vue@3
user who can share the current situation? An echarts version that can be used
normally and does not affect the running of the project
### Expected Behavior
1. Hope to solve the problem that echarts cannot be used normally in vue3
### Environment
```markdown
- OS: windows11
- Browser:Chrome 122.0.6261.129
- Framework:[email protected]
```
### Any additional comments?
_No response_
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]