08 2022 档案

摘要:computed带参数的用法和写法 computed: { // 写法 return一个函数 getBusinessTypeTxt({ businessType }){ return (type) => { const text = businessType.find((item) => item. 阅读全文
posted @ 2022-08-31 10:37 ^finally 阅读(37) 评论(0) 推荐(0)
摘要:主要实现方法是利用事件对象e:keyboardEvent的KeyboardEvent方法,监听keydown事件,来判断是否开启了大写。 使用: 这里讲实现方法,如用第三方组件库,把input替换即可,方法不变。 <template> <div> <input type="password" pla 阅读全文
posted @ 2022-08-15 12:20 ^finally 阅读(440) 评论(0) 推荐(0)