当前位置: 代码迷 >> 综合 >> vue使用vue-cropper裁剪图片报错: Failed to mount component: template or render function not defined
  详细解决方案

vue使用vue-cropper裁剪图片报错: Failed to mount component: template or render function not defined

热度:54   发布时间:2023-12-22 05:42:57.0

原因是vue-cropper新版本报错,最方便的解决办法是将vue-cropper降到旧版本,我使用的是0.3.6。

1.npm uninstall vue-cropper

2. npm install vue-cropper@0.3.6

  相关解决方案