VUE 中のプロパティ 'xxxx' はタイプ 'CombinedVueInstance に存在しません

エラー内容

Property ‘xxxx’ does not exist on type 'CombinedVueInstance<{ readyOnly: unknown; businessPrice: unknown; travelStaffInfo: any; } & Record<never, any> & Vue, object, object, object, Record<never, any>>. Vetur


エラーの理由

構成の問題


解決

  1. 設定インターフェイスを開く
  2. 検索Vetur
  3. 一番下までスクロールしてValidation: Interpolation
  4. このオプションを閉じるには、チェックを外します
  • またはsettins.jsonファイル"vetur.validation.interpolation": false

例証する

記事ダクシーが10月秋に転載・まとめた記事をお借りしています

おすすめ

転載: blog.csdn.net/qq_44900902/article/details/120060444