From caf36dec5de803c5ce8912c08beaccb29598e2f6 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Mon, 15 Mar 2021 20:10:19 +0800 Subject: [PATCH] 分销员后台0315 --- zq-erp/src/main/resources/templates/views/admin/fenxiao/fenxiao-user.html | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/zq-erp/src/main/resources/templates/views/admin/fenxiao/fenxiao-user.html b/zq-erp/src/main/resources/templates/views/admin/fenxiao/fenxiao-user.html index cc2ebb2..97bc047 100644 --- a/zq-erp/src/main/resources/templates/views/admin/fenxiao/fenxiao-user.html +++ b/zq-erp/src/main/resources/templates/views/admin/fenxiao/fenxiao-user.html @@ -385,6 +385,7 @@ tgtpSubmit(){ let _this = this; let imageUrl = _this.imageUrl; + alert(imageUrl); let data= { imageUrl:imageUrl, }; @@ -399,7 +400,9 @@ }); }, handleAvatarSuccess(res, file) { - this.imageUrl = URL.createObjectURL(file.raw); + //this.imageUrl = URL.createObjectURL(file.raw); + //alert(res.path); + this.imageUrl = res.path; }, beforeAvatarUpload(file) { const isJPG = file.type === 'image/jpeg'; -- Gitblit v1.9.1