✖ 1 problem (1 error, 0 warnings) 1 error and 0 warnings potentially fixable with the`--fix` vue详解
✖ 1 problem (1 error, 0 warnings)1 error and 0 warnings potentially fixable with the --fix option.解决方案:VSCode中推荐下载ESLint自动检查错误并报错 (文章下方有报错图片示例)//这是登录表单的数据绑定对象(注释后面需要加空格)// 这是登录表单的数据绑定对象loginFormRules:
   ·  
 ✖ 1 problem (1 error, 0 warnings)
  1 error and 0 warnings potentially fixable with the --fix option.
  解决方案:
VSCode中推荐下载ESLint自动检查错误并报错 (文章下方有报错图片示例)
//这是登录表单的数据绑定对象      (注释后面需要加空格)
// 这是登录表单的数据绑定对象
 loginFormRules: {
        // 验证用户名是否合法
        username: [
         // 所有键名后面也需要添加空格 
          { required: true, message: '请输入登录名称', trigger: 'blur' },       
          { min: 3, max: 10, message: '长度在 3 到 10 个字符', trigger: 'blur' }
        ],
        // 验证密码是否合法
        password: []
      }


更多推荐
 
 



所有评论(0)