From c17af94f1c969e79af3998dfd0b1015cb2572b26 Mon Sep 17 00:00:00 2001 From: hdm Date: Tue, 12 Jul 2022 18:57:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E5=A4=B4=E5=83=8Fbug?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/user/view/user/add.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/user/view/user/add.html b/app/user/view/user/add.html index 234bbcc..0f110bf 100644 --- a/app/user/view/user/add.html +++ b/app/user/view/user/add.html @@ -212,7 +212,7 @@ layer.msg(res.msg); if (res.code == 0) { //上传成功 - $('#demo1 input').attr('value', res.data.id); + $('#demo1 input').attr('value', res.data.filepath); $('#demo1 img').attr('src', res.data.filepath); } }