|
|
@@ -66,8 +66,8 @@ const emit = defineEmits(["chengeUser"]);
|
|
|
function submit() {
|
|
|
proxy.$refs.userRef.validate(valid => {
|
|
|
if (valid) {
|
|
|
- const query=props.user
|
|
|
- query.phonenumber = encode(query.phonenumber)
|
|
|
+ let query=props.user
|
|
|
+ query.phonenumber = encode(query.phonenumber+'')
|
|
|
// console.log('props.user',query);
|
|
|
updateUserProfile(query).then(response => {
|
|
|
proxy.$modal.msgSuccess("修改成功");
|