From b70b78991957e07e41acaf623d0990e7b420abaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=A8=E7=93=9C=E4=B8=80=E5=9D=97=E5=85=AB?= <2523890936@qq.com> Date: Fri, 15 Aug 2025 17:14:05 +0800 Subject: [PATCH] bugfix --- f/web-kboss/src/views/homePage/ncmatch/mainPage/index.vue | 2 +- .../src/views/homePage/ncmatch/mainPage/sendProduct/index.vue | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/f/web-kboss/src/views/homePage/ncmatch/mainPage/index.vue b/f/web-kboss/src/views/homePage/ncmatch/mainPage/index.vue index 465f20d..ce66eee 100644 --- a/f/web-kboss/src/views/homePage/ncmatch/mainPage/index.vue +++ b/f/web-kboss/src/views/homePage/ncmatch/mainPage/index.vue @@ -501,7 +501,7 @@ export default Vue.extend({ // 主内容区域 .main-content { - padding: 16px; + // padding: 16px; width: 100%; max-width: 1600px; diff --git a/f/web-kboss/src/views/homePage/ncmatch/mainPage/sendProduct/index.vue b/f/web-kboss/src/views/homePage/ncmatch/mainPage/sendProduct/index.vue index 0da8fed..cce95c7 100644 --- a/f/web-kboss/src/views/homePage/ncmatch/mainPage/sendProduct/index.vue +++ b/f/web-kboss/src/views/homePage/ncmatch/mainPage/sendProduct/index.vue @@ -599,6 +599,9 @@ export default { let formdata = new FormData(); for (let key in this.form) { + if(key == 'img'&&this.form.img == null){ + continue; + } formdata.append(key, this.form[key]); } formdata.append('publish_type', this.publish_type)