KaygNas
KaygNas
> > > > @KesionX 我查看了 vue-demi-switch 2 和 vue-demi-switch 3 不同状态打包出来的文件, 发现解析sfc模式的函数, vue2, vue3是不能兼容的... 这些函数, 也不是 @vue/composition-api 能解决的... 要兼容的话得用h() 或者 jsx 去写模板文件.. 我最近也遇到了类似的问题,想必你也是尝试直接编译单文件组件(sfc),因为编译过程中涉及到了 sfc-compiler ,但 vue2 和 vue3 的编译器不一样,所以没办法让编译的产物同时在...
> @LinusBorg answered me on Discord saying the following: > >  > > As said, might be useful to have in the `README.md` to avoid future issues about this...
> > you can use render function to make the component work for both vue2/3. > > I spent some time with vue-demi to make a tiny vue component library...
Any progress? The `_index.default is not a constructor` error still exist in version 4.8.18. 
> Any temporary fix? Try use the sync version from '@antv/algorithm' may bypass the problem: ``` import { detectDirectedCycle, findShortestPath } from '@antv/algorithm'; ```
我也遇到类似的问题,我自定义了节点并拓展自 ‘circle’,最后发现是 KeyShape 的尺寸过小导致的,节点 KeyShape 应该由 `size` 属性控制,你可以检查一下是否正确? 另外好像也可能和 'defaultNode' 的配置有关,我只有设置为 'defaultNode' 的自定义节点会出现这样的问题,移除之后就没问题了。
了解到移动端浏览器劫持 `` 控件很常见,但是发现同样使用西瓜播放器,西瓜视频的 Web 却不会被劫持,请问是经过什么特别的处理吗?还是说西瓜视频特别向各个浏览器厂商沟通过,所以浏览器厂商对西瓜视频 Web 特别处理,不劫持?
> You can try importing models into Blender and exporting them as GLB or GLTF. Thanks, succeed by using `gltf-transform` to remove the `EXT_meshopt_compression` and using Blender to export again.
### 未启用 SourceMap 时,控制台错误指向压缩后的代码 ### 启用 SourceMap 后,控制台错误指向正确源码