zmc
2023-08-31 17388fa7ecd1f3ebadad470a463573a1cfe4468f
src/views/login/LoginSystem.vue
@@ -43,7 +43,7 @@
      if (this.username === 'admin' && this.password === 'admin123') {
         ElMessage.success('登录成功');
          // 登录成功,跳转到对应页面
          this.$router.push('/ndata') // 假设登录成功后跳转到 '/dashboard' 页面
          this.$router.push('/edata') // 假设登录成功后跳转到 '/dashboard' 页面
        } else {
          // console.log('Login Failed!')
          ElMessage.error('账号或密码错误');
@@ -79,7 +79,8 @@
  position: absolute;
  right: 10%;
  width: 20%;
  height: 50%;
  height: 500;
}
.el-form-item {
@@ -112,7 +113,7 @@
  letter-spacing: 0.3em;
  text-align: center;
  box-sizing: border-box;
  bottom: 80px;
  bottom: 10px;
}