0
点赞
收藏
分享

微信扫一扫

vue总是报错:Trailing spaces not allowed

翻译:

Trailing spaces not allowed:不允许尾随空格

1-报错:

vue总是报错:Trailing spaces not allowed_代码规范

2-解决:

你的某些行的空格多了,删掉就行了

以我的截图为例  代码12行出错   选中12行(点击前面的12数字),选中代码后面多出来的空格删掉

vue总是报错:Trailing spaces not allowed_代码规范_02

3-原因:

项目中打开了eslint代码规范



举报

相关推荐

0 条评论