运行代码时候出现以下报错

erchantsList.vue: Unexpected token, expected "," (66:2)
09:45:49.891   64 |             this.endDate = e.endDate
09:45:49.891   65 |         }
09:45:49.891 > 66 |         selected(name){
09:45:49.891      |         ^
09:45:49.891   67 |             this.active = name;
09:45:49.891   68 |         }
09:45:49.891   69 |     }

报错原因,函数之间缺少逗号,65行}后添加,即可

相关文章:

  • 2022-12-23
  • 2021-04-06
  • 2021-11-28
  • 2022-01-21
  • 2021-06-27
  • 2021-11-15
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-01
  • 2022-12-23
  • 2022-12-23
  • 2021-08-19
  • 2021-12-17
  • 2021-10-06
相关资源
相似解决方案