inconsistent use of tabs and spaces in indentation

简介: inconsistent use of tabs and spaces in indentation

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

image.png

image.png

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

所以,咱们用工具

image.png

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

相关文章
|
6月前
|
小程序 JavaScript
Avoid mutating a prop directly since the value will be overwritten whenever the parent comp
Avoid mutating a prop directly since the value will be overwritten whenever the parent comp
|
IDE 开发工具 Python
TabError: inconsistent use of tabs and spaces in indentation
这个报错的意思是说IDE分不清tab和空格,说明你的代码中混用了tab和空格。
390 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)
473 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
2493 0
解决TabError: inconsistent use of tabs and spaces in indentation
|
JavaScript
Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-
Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-
Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-
|
Python
Python 缩进问题-inconsistent use of tabs and spaces in indentation.原因及解决方法
Python 缩进问题-inconsistent use of tabs and spaces in indentation.原因及解决方法
6125 0
Python 缩进问题-inconsistent use of tabs and spaces in indentation.原因及解决方法