From dfc9667c902fdeb46332d816ee940959759c305b Mon Sep 17 00:00:00 2001 From: duan <1004387497@qq.com> Date: Thu, 22 Aug 2024 16:39:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B4=BB=E5=8A=A8=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E7=BC=96=E8=BE=91-=E6=98=AF=E5=90=A6=E8=B5=A0?= =?UTF-8?q?=E9=80=81=E5=95=86=E5=93=81=E5=BC=80=E5=85=B3=E5=85=A5=E5=8F=82?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/application/advertisement.vue | 28 +++++++++++++------ src/views/shop/components/extend.vue | 6 +++- .../user_manage/components/addActive.vue | 2 +- src/views/user_manage/user_list.vue | 2 +- 4 files changed, 26 insertions(+), 12 deletions(-) diff --git a/src/views/application/advertisement.vue b/src/views/application/advertisement.vue index 57938bd..08e9740 100644 --- a/src/views/application/advertisement.vue +++ b/src/views/application/advertisement.vue @@ -15,7 +15,7 @@ 查询 - 新增 + 新增 @@ -60,14 +60,22 @@ - - 点击上传 -
建议尺寸:520px*680px
+ + + + + +
建议尺寸:520px*680px
- + @@ -86,7 +94,7 @@ - + @@ -120,7 +128,6 @@ export default { form: { sort: "", path: "", - status: 1, shopId: localStorage.getItem("shopId"), showPosition: 'home', frequency: "only_one" @@ -173,7 +180,9 @@ export default { this.fileList.splice(index, 1); }, async showChange(a, d) { - this.form.imgUrl = this.fileList + if (!d.imgUrl) { + this.form.imgUrl = this.fileList + } await adput({ ...d, ...this.form @@ -182,6 +191,7 @@ export default { message: '成功', type: 'success' }) + this.getList() }, async getto() { let res = await miniAppPagesget() diff --git a/src/views/shop/components/extend.vue b/src/views/shop/components/extend.vue index b740da2..6e353bf 100644 --- a/src/views/shop/components/extend.vue +++ b/src/views/shop/components/extend.vue @@ -7,6 +7,7 @@ {{ row.row.type == 'text' ? '文本' : '图片' }} +