Explorar el Código

更新用户信息页面

reghao hace 2 años
padre
commit
7c4799b8df
Se han modificado 1 ficheros con 1 adiciones y 5 borrados
  1. 1 5
      src/views/user/Profile.vue

+ 1 - 5
src/views/user/Profile.vue

@@ -30,9 +30,6 @@
           <el-form-item label="性别">
             <el-input v-model="form.gender" style="width: 30%; padding-right: 2px"/>
           </el-form-item>
-          <el-form-item label="出生日期">
-            <el-input v-model="form.birthday" style="width: 30%; padding-right: 2px"/>
-          </el-form-item>
           <el-form-item>
             <el-button type="primary" @click="onSubmit">保存</el-button>
           </el-form-item>
@@ -60,8 +57,7 @@ export default {
         userId: null,
         screenName: null,
         signature: null,
-        gender: 2,
-        birthday: null
+        gender: 2
       }
     }
   },