Uncaught (in promise) TypeError: Cannot read property ‘$confirm‘ of undefined at eval (Login.vue
想要用element ui的message box提示用户名不存在,询问用户是否注册,可是控制台报错 methods: { login() { var that=this this.$refs.ruleForm.validate((valid) => { if (valid) { // 向后端发起请求,提交数据 this.$axios.post('http://localhost:9090
原创
2021-04-13 21:31:07 ·
1540 阅读 ·
0 评论