Browse Source

Merge branch '1.0.0_online' of http://smartcost.f3322.net:3000/SmartCost/ConstructionCost into 1.0.0_online

zhongzewei 6 years ago
parent
commit
d5d8f76fed
1 changed files with 2 additions and 2 deletions
  1. 2 2
      modules/users/models/user_model.js

+ 2 - 2
modules/users/models/user_model.js

@@ -123,7 +123,7 @@ class UserModel extends BaseModel {
      * @param {string} scene
      */
     setScene(scene = '') {
-        switch (scene) {
+       /* switch (scene) {
             case 'saveInfo':
                 this.model.schema.path('real_name').required(true);
                 this.model.schema.path('company').required(true);
@@ -135,7 +135,7 @@ class UserModel extends BaseModel {
                 this.model.schema.path('company').required(false);
                 this.model.schema.path('province').required(false);
                 this.model.schema.path('version').required(false);
-        }
+        }*/
     }
 
     /**