zhoushihao
2024-07-29 ac71274114b9d41f5f29b9c125199031737a8528
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) {