From 956289c2b729f643a528983b7ceb5103f32aff23 Mon Sep 17 00:00:00 2001
From: lohir <3399054449@qq.com>
Date: 星期三, 16 十月 2024 09:26:29 +0800
Subject: [PATCH] bug

---
 src/views/user/student/edit.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/views/user/student/edit.vue b/src/views/user/student/edit.vue
index e686016..b31d09e 100644
--- a/src/views/user/student/edit.vue
+++ b/src/views/user/student/edit.vue
@@ -11,7 +11,7 @@
       <el-form-item label="鐧诲綍璐﹀彿锛�" prop="userName" required>
         <el-input v-model="form.userName" autocomplete="off"></el-input>
       </el-form-item>
-      <el-form-item label="鐧诲綍瀵嗙爜锛�" prop="password" required>
+      <el-form-item label="鐧诲綍瀵嗙爜锛�" prop="password" v-if="form.id === null" required>
         <el-input v-model="form.password" show-password autocomplete="off"></el-input>
       </el-form-item>
       <el-form-item label="骞撮緞锛�">

--
Gitblit v1.8.0