wuyouming666
2024-07-18 8e1ee5781fb9c3a812c24934d74272bcc1a6eaa0
UI-Project/src/views/LoginView.vue
@@ -48,6 +48,9 @@
 
//登陆方法
const submitForm = (formEl: FormInstance | undefined) => {
  store.$patch({
              user: null,
              })
  if (!formEl) return
  formEl.validate((valid) => {
    if (valid) {