Login light

vue报错记录

eslint会检查语法格式
https://github.com/vuejs/eslint-config-vue

在windows环境中可以使用call node_modules/.bin/eslint.cmd ./src/views/order/search.vue --fix修复部分格式错误

eslint字段含义
https://cn.eslint.org/docs/rules/

error More than 1 blank line not allowed
空行不能超过1个

Expected indentation of 8 spaces but found 4 spaces
缩进

Attribute "v-model" should go before "suffix-icon"
v-model属性应该前置

Extra semicolon
额外的分号