![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
vue
刘先森ing
web前端工程师
展开
-
input 绑定回车键时,输入法为中文
登录输入验证码时,验证码输入框绑定了键盘事件,当输入法为中文时,点击回车键,无论输入几位,都会执行事件原创 2022-01-13 10:15:23 · 758 阅读 · 0 评论 -
vue之eslint配置
官网:https://eslint.org/docs/rules/ESLint配置方式ESLint有三种配置方式,一般自定义规则较少时,选第2种;自定义配置很多,建议第1种;第3种常用于对某句代码禁用eslint。1、在package.json中通过eslintConfig配置,示例:“eslintConfig”: {“root”: true,“env”: {“node”: true...原创 2020-04-13 22:01:17 · 973 阅读 · 0 评论