报错 1.0Property or method "handleClose" is not defined on the instance but referenced during 

2.0 Invalid handler for event "close": got undefinedfound in

 

 

仔细看报错 ,其实就是handleClose 方法没定义   只要定义了就行  ,定义打印一行字就行

 

具体我设置的有这些 :

1.在main.js入口文件中

vue-preview的最新使用 ,报错

2.在组件中:

vue-preview的最新使用 ,报错

 

vue-preview的最新使用 ,报错

vue-preview的最新使用 ,报错

vue-preview的最新使用 ,报错

 

最终效果:

vue-preview的最新使用 ,报错

vue-preview的最新使用 ,报错

相关文章:

  • 2022-01-05
  • 2022-12-23
  • 2022-01-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-30
  • 2021-06-28
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-23
  • 2022-12-23
  • 2021-04-23
相关资源
相似解决方案