编辑器提示eslint错误

200 阅读1分钟

一行文本过长eslint提示

解决办法:在需要取消eslint的代码上下加入/* eslint-disable */即可。