报错:error Parsing error: x-invalid-end-tag

简介: 报错:error Parsing error: x-invalid-end-tag

@[toc]

报错结果

error  Parsing error: x-invalid-end-tag
AI 代码解读

在这里插入图片描述

报错分析

View将标签渲染为原生html标签时,由于这些标签是自闭合的,所以有 end 标签会报错。

解决办法

第一种方法:去掉结束标记,写成单标签形式

第二种方法:关闭提醒

文件/首选项/设置
AI 代码解读

在这里插入图片描述

在上面的搜索栏输入:vetur. valid ation.tem pl ate 取消勾选
在这里插入图片描述

相关文章
|
11月前
|
syntax error: unexpected end of file
syntax error: unexpected end of file
52 0
ERROR [ntContainer#0-1] o.s.a.r.l.SimpleMessageListenerContainer 1917: Failed to check/redeclare aut
ERROR [ntContainer#0-1] o.s.a.r.l.SimpleMessageListenerContainer 1917: Failed to check/redeclare aut
355 0
error C2449: found ‘{‘ at file scope (missing function header?)和error C2059: syntax error : ‘}‘
error C2449: found ‘{‘ at file scope (missing function header?)和error C2059: syntax error : ‘}‘
166 0
|
11月前
|
报错:error Parsing error: x-invalid-end-tag
报错:error Parsing error: x-invalid-end-tag
171 0
eslint: error Parsing error: Unexpected token <
eslint: error Parsing error: Unexpected token <
460 0
error C2041: illegal digit ‘9‘ for base ‘8‘ | error C2059: syntax error: ‘bad suffix on number‘
error C2041: illegal digit ‘9‘ for base ‘8‘ | error C2059: syntax error: ‘bad suffix on number‘
203 0
Error:fatal error C1010: unexpected end of file while looking for precompiled head
Error:fatal error C1010: unexpected end of file while looking for precompiled head
148 0
Error:error C2601: ‘b‘ : local function definitions are illegal error C2063: ‘b‘ : not a function
Error:error C2601: ‘b‘ : local function definitions are illegal error C2063: ‘b‘ : not a function
250 0
WARNING: Re-reading the partition table failed with error 22: Invalid argument
在划分磁盘分区时,遇到错误“WARNING: Re-reading the partition table failed with error 22: Invalid argument” 如下所示: [root@DB-Server u02]# fdisk -l   Disk /dev/sda: 500.
2580 0