Explorar el Código

Merge pull request #142 from go-admin-team/dev

patch🚑: merge dev
wenjianzhang hace 4 años
padre
commit
83c9ff8366
Se han modificado 2 ficheros con 4 adiciones y 1 borrados
  1. 1 1
      package.json
  2. 3 0
      src/views/admin/sys-dept/index.vue

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "go-admin",
-  "version": "2.0.0",
+  "version": "2.0.2",
   "description": "A magical vue admin. An out-of-box UI solution for enterprise applications. Newest development stack of vue. Lots of awesome features",
   "author": "https://github.com/wenjianzhang",
   "license": "MIT",

+ 3 - 0
src/views/admin/sys-dept/index.vue

@@ -198,6 +198,9 @@ export default {
         sort: [
           { required: true, message: '菜单顺序不能为空', trigger: 'blur' }
         ],
+        leader: [
+          { required: true, message: '负责人不能为空', trigger: 'blur' }
+        ],
         email: [
           {
             type: 'email',