|
|
@ -70,7 +70,7 @@ const upload = async (option) => { |
|
|
|
//修改用户信息 |
|
|
|
//修改用户信息 |
|
|
|
const changeInfo = async () => { |
|
|
|
const changeInfo = async () => { |
|
|
|
const userInfo = { |
|
|
|
const userInfo = { |
|
|
|
username: form.value.username, |
|
|
|
// username: form.value.username, |
|
|
|
phone: form.value.phone, |
|
|
|
phone: form.value.phone, |
|
|
|
id: form.value.id, |
|
|
|
id: form.value.id, |
|
|
|
nickName: form.value.nickName, |
|
|
|
nickName: form.value.nickName, |
|
|
@ -109,7 +109,6 @@ const changeInfo = async () => { |
|
|
|
<el-form-item label="用户名" :label-width="formLabelWidth"> |
|
|
|
<el-form-item label="用户名" :label-width="formLabelWidth"> |
|
|
|
<el-input v-model="form.username" autocomplete="off" /> |
|
|
|
<el-input v-model="form.username" autocomplete="off" /> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
|
|
<el-form-item label="昵称" :label-width="formLabelWidth"> |
|
|
|
<el-form-item label="昵称" :label-width="formLabelWidth"> |
|
|
|
<el-input v-model="form.nickName" autocomplete="off" /> |
|
|
|
<el-input v-model="form.nickName" autocomplete="off" /> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|