inconsistent use of tabs and spaces in indentation

简介: inconsistent use of tabs and spaces in indentation

缩进出了问题,应该是txt文档敲的吧。

image.png

image.png

按【tab】键的时候需要注意点哦。

所以,咱们用工具

image.png

像这类的缩进肯定是没有问题的。

相关文章
|
11月前
|
JavaScript
解决 NavigationDuplicated: Avoided redundant navigation to current location: “/“
解决 NavigationDuplicated: Avoided redundant navigation to current location: “/“
156 0
解决 NavigationDuplicated: Avoided redundant navigation to current location: “/“
|
IDE 开发工具 Python
TabError: inconsistent use of tabs and spaces in indentation
这个报错的意思是说IDE分不清tab和空格,说明你的代码中混用了tab和空格。
250 0
TabError: inconsistent use of tabs and spaces in indentation
|
JavaScript
vue 里 使用 eslint 报错 error:Mixed spaces and tabs (no-mixed-spaces-and-tabs)
vue 里 使用 eslint 报错 error:Mixed spaces and tabs (no-mixed-spaces-and-tabs)
338 0
vue 里 使用 eslint 报错 error:Mixed spaces and tabs (no-mixed-spaces-and-tabs)
|
数据可视化 Python
解决TabError: inconsistent use of tabs and spaces in indentation
inconsistent use of tabs and spaces in indentation
2300 0
解决TabError: inconsistent use of tabs and spaces in indentation
|
Python
Python 缩进问题-inconsistent use of tabs and spaces in indentation.原因及解决方法
Python 缩进问题-inconsistent use of tabs and spaces in indentation.原因及解决方法
5567 0
Python 缩进问题-inconsistent use of tabs and spaces in indentation.原因及解决方法
get assigned pageset and my pages
get assigned pageset and my pages
80 0
get assigned pageset and my pages