班级不能为空

main
xy 3 weeks ago
parent 9baff1e903
commit 1c4eccee74
  1. 8
      src/layout/loginPage.vue

@ -71,7 +71,7 @@
</div>
</el-form-item>
<el-form-item>
<el-form-item prop="clssid">
<div style="display: flex; align-items: center;">
<div class="left" style="display: flex; align-items: center ;width: 90px;">
<div style="padding-right: 10px; color: #1084c1">
@ -236,8 +236,7 @@
</el-form-item> -->
<el-form-item>
<el-button class="hexagon-button" type="primary" auto-insert-space @click="login">登录</el-button>
<el-button class="hexagon-button" type="primary" auto-insert-space
@click="toRegister">去注册</el-button>
<el-button class="hexagon-button" type="primary" auto-insert-space @click="toRegister">去注册</el-button>
</el-form-item>
</el-form>
</el-col>
@ -354,6 +353,9 @@ const rules = {
trigger: "blur",
},
],
clssid:[
{ required: true, message: "请选择所属班级", trigger: "blur" },
],
mobile:[
{ required: true, message: "请输入手机号", trigger: "blur" },
{

Loading…
Cancel
Save