File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5555 size =" large"
5656 type =" date"
5757 placeholder =" 选择日期"
58- value-format =" yyyy-MM-dd"
5958 placement =" bottom-start"
6059 :picker-options =" birthday_options"
6160 ></el-date-picker >
@@ -174,9 +173,15 @@ export default {
174173 getProfile () {
175174 getProfile ().then ((res ) => {
176175 let data = res .data .data ;
177- let birth = new Date (data .birthday );
178- data .birthday = birth;
179- this .form = data;
176+ this .form .jx3_server = data .jx3_server ;
177+ this .form .user_bio = data .user_bio ;
178+ this .form .qq_number = data .qq_number ;
179+ this .form .phone = data .phone ;
180+ this .form .address = data .address ;
181+ this .form .tv_id = data .tv_id ;
182+ this .form .tv_type = data .tv_type ;
183+ this .form .tuilan_id = data .tuilan_id ;
184+ this .form .birthday = data .birthday ? new Date (data .birthday ) : " " ;
180185 });
181186 },
182187 },
You can’t perform that action at this time.
0 commit comments