问题描述
“@antv/x6”: “2.9.4”,
“@antv/x6-vue-shape”: “2.0.10”,
“ant-design-vue”: “1.5.6”,
“core-js”: “^3.8.3”,
“vue”: “2.6.10”
使用以上版本创建项目,在使用import { isVue2, isVue3 } from vue-demi ;isVue2的值返回false,是什么缘由呢
重现链接
无
重现步骤
无
预期行为
isVue2为true
平台
- 操作系统: [ Windows]
- 网页浏览器: [Google Chrome, ]
- X6 版本: [2.9.4]
屏幕截图或视频(可选)
No response
补充说明(可选)
No response
© 版权声明
文章版权归作者所有,未经允许请勿转载。如内容涉嫌侵权,请在本页底部进入<联系我们>进行举报投诉!
THE END



















- 最新
- 最热
只看作者👋 @dingyunding
Thanks for opening your first issue here! If you re reporting a 🐞 bug, please make sure you include steps to reproduce it.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
antv x6-vue-shape下面装了一个vue-demi 需要cd到里面执行
npx vue-demi-switch 2
可以在package.json加上
"prebuild:prod":"cd . node_modules @antv x6-vue-shape && npx vue-demi-fix && npx vue-demi-switch 2",