From 3c12858927ce26f277ba758e520c81be599d8df1 Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期二, 28 十一月 2023 15:42:24 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- cloud-server-management/src/main/webapp/WEB-INF/view/system/tShop/TShop_edit.html | 30 ++++++++++++++---------------- 1 files changed, 14 insertions(+), 16 deletions(-) diff --git a/cloud-server-management/src/main/webapp/WEB-INF/view/system/tShop/TShop_edit.html b/cloud-server-management/src/main/webapp/WEB-INF/view/system/tShop/TShop_edit.html index 4e76b09..5ba1c62 100644 --- a/cloud-server-management/src/main/webapp/WEB-INF/view/system/tShop/TShop_edit.html +++ b/cloud-server-management/src/main/webapp/WEB-INF/view/system/tShop/TShop_edit.html @@ -212,22 +212,8 @@ methods: { handleAvatarSuccess(res, file) { file.url =file.response - TCarInfoDlg.goodsPicArray.push(file); + TCarInfoDlg.goodsPicArray.push(res); console.log(TCarInfoDlg.goodsPicArray) - }, - changeImg(){ - var i = id.split(",") - for (let j = 0; j <i.length; j++) { - let obj={ - fileName:i[j], - uuid:i[j], - url:i[j], - response:i[j], - } - this.imageUrl2.push(obj) - - } - console.log( this.imageUrl2,111) }, beforeAvatarUpload(file) { const isLt2M = file.size / 1024 / 1024 < 10; @@ -240,7 +226,19 @@ TCarInfoDlg.goodsPicArray = TCarInfoDlg.goodsPicArray.filter(item => { return item.uid != file.uid; }); - + }, + changeImg(){ + var i = id.split(",") + for (let j = 0; j <i.length; j++) { + let obj={ + fileName:i[j], + uuid:i[j], + url:i[j], + response:i[j], + } + this.imageUrl2.push(obj) + } + console.log( this.imageUrl2,111) }, }, created() { -- Gitblit v1.7.1