Przeglądaj źródła

缺少必填验证

shizhong 1 rok temu
rodzic
commit
0f0cedf5df
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      src/views/system/user/user.data.ts

+ 1 - 0
src/views/system/user/user.data.ts

@@ -30,6 +30,7 @@ export const rules = reactive({
   username: [required],
   nickname: [required],
   password: [
+    required,
     {
       min: 4,
       max: 16,