mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-03 09:29:59 +08:00
修改图片路径
This commit is contained in:
@@ -110,7 +110,6 @@ export default {
|
||||
reader.readAsDataURL(file);
|
||||
reader.onload = () => {
|
||||
this.options.img = reader.result;
|
||||
// console.log(this.options.img);
|
||||
};
|
||||
}
|
||||
},
|
||||
@@ -124,7 +123,6 @@ export default {
|
||||
console.log(response.code);
|
||||
if (response.code === 200) {
|
||||
this.open = false;
|
||||
// this.options.img = process.env.VUE_APP_BASE_API + response.imgUrl;
|
||||
this.options.img = response.imgUrl;
|
||||
console.log(this.options.img);
|
||||
store.commit('SET_AVATAR', this.options.img);
|
||||
|
||||
Reference in New Issue
Block a user