Property ‘datetimerangeValue‘ does not exist on type ‘CombinedVueInstance<Record<never, any> & Vue,

解决办法:

依次点击:文件——首选项——设置,在打开的页面点击,用户——拓展——vetur
然后疯狂下滑,找到Validation: Interpolation一栏,看到这里有一句:
validate interpolation in <template> region using TypeScript language service
大意就是按照TypeScript 的语法规则去校验<template>中的语句。
豁然开朗,关闭该选项即可。

至于为啥会勾选上,八成是因为vetur升级的原因吧 。

 

相关文章:

  • 2021-12-31
  • 2021-09-09
  • 2021-08-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-05-27
  • 2021-09-08
  • 2022-12-23
  • 2021-04-16
  • 2021-10-27
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案