Element - The world's most popular Vue UI framework
写的跟上面官方文档基本一致,后面发现是 this.$refs.add.validate((valid) => {没有写在点击事件方法中,其中add是form表单的ref。
Element - The world's most popular Vue UI framework
写的跟上面官方文档基本一致,后面发现是 this.$refs.add.validate((valid) => {没有写在点击事件方法中,其中add是form表单的ref。