当前位置:网站首页>为什么 this.$refs[formName].validate((valid) =>{} 无效(没有反应)
为什么 this.$refs[formName].validate((valid) =>{} 无效(没有反应)
2022-07-20 16:42:00 【似酒龙井】
验证的每一项下 都要 callback。
确保 在不同情况下 都会执行callback
所以要在验证时加上else的callback()
https://www.cnblogs.com/qianxiaoniantianxin/p/14628626.html
边栏推荐
- MNN tutorials
- Try to understand the essence of low code platform design from another angle
- 微信小程序 02 Hello miniProgram
- 高薪程序员&面试题精讲系列126之消息队列中积压了一百多万条消息怎么办?如何保证消息的一致性?
- 《程序设计基础》 第十章 函数与程序结构 6-13 分治法求解金块问题 (20 分)
- find_ var.sh
- ICASSP 2022 | 用于多模态情感识别的KS-Transformer
- What if there are more than 1 million messages in the message queue of highly paid programmers & interview questions series 126? How to ensure the consistency of messages?
- DEBUG:Generate Bitstream失败
- BackGroundWorker 使耗时的操作不影响界面响应
猜你喜欢
Unity spritemask implementation
微信小程序 02 Hello miniProgram
opencv图像数据增强
微信小程序 03 数据劫持代理和事件绑定
Detailed explanation of redis cluster construction and configuration optimization
Wechat applet 04 route jump and life cycle function
Selection bias induced spurious correlations in large language models
2021-09-17
K3s deploy rancher
Network Security Learning (x) simple test process of penetration
随机推荐
EL&JSTL:JSTL总结
《程序设计基础》 第十章 函数与程序结构 6-10 递归求阶乘和 (15 分)
Unity spritemask implementation
2021-9-18
K3s deploy rancher
网络安全学习(七)IIS
[untitled]
智能科学创新讲堂 | 自动化所何晖光: 基于视觉信息编解码的深度学习类脑机制研究
Intelligent science innovation lecture hall | Institute of automation he Huiguang: Research on deep learning brain mechanism based on visual information encoding and decoding
2021-9-22
Musk: I uploaded my brain to the cloud. Sorry, 404
网络安全学习(九)综合实验&PKI
vc 每次按F5运行都提示重新编译
网络安全学习(五)DHCP
《程序设计基础》 第十章 函数与程序结构 6-13 分治法求解金块问题 (20 分)
416. Segmentation and subsets
静态代码分析是如何工作的
sqlilabs less-26~26a
网站资源
Wechat applet 05 obtains basic user information