重新登录成功和登录失败处理器

<template>
  <div class="login">

    <el-form ref="loginRef" :model="loginForm" :rules="loginRules" class="login-form">
      <h3 class="title">Java1234 Vue3 后台管理系统h3>

      <el-form-item prop="username">

        <el-input
            v-model="loginForm.username"
            type="text"
            size="large"
            auto-complete="off"
            placeholder="账号"
        >
<template #prefix><svg-icon icon="user" />template>
        el-input>
      el-form-item>
      <el-form-item prop="password">
        <el-input
            v-model="loginForm.password"
            type="password"
            size="large"
            auto-complete="off"
            placeholder="密码"
            @keyup.enter="handleLogin"
        >
          <template #prefix><svg-icon icon="password" />template>
        el-input>
      el-form-item>


      <el-checkbox  style="margin:0px 0px 25px 0px;">记住密码el-checkbox>
      <el-form-item style="width:100%;">
        <el-button
            size="large"
            type="primary"
            

你可能感兴趣的:(vue.js,javascript,前端)