From c4962194e669e9855f3d163baf19eaf9cb06e9f0 Mon Sep 17 00:00:00 2001 From: czc Date: Fri, 28 Jul 2023 10:22:05 +0800 Subject: [PATCH] =?UTF-8?q?fix=E6=96=B0=E5=A2=9E=E5=95=86=E5=93=81?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E4=B8=8A=E4=B8=8B=E6=9E=B6=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/pms/product/AddProduct.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/pms/product/AddProduct.vue b/src/views/pms/product/AddProduct.vue index 7278882..a56961c 100644 --- a/src/views/pms/product/AddProduct.vue +++ b/src/views/pms/product/AddProduct.vue @@ -162,7 +162,10 @@ export default { { required: true, message: '请输入商品名称', trigger: 'blur' }, ], }, - form: {}, + form: { + publishStatus: 0, + sort: 1000 + }, skuAttr:[], albumPics:null, productAttr: [ @@ -181,9 +184,6 @@ export default { const {id} = this.$route.query if (id) { this.getInfo(id); - }else{ - this.form.sort=1000 - this.form.publishStatus=0 } }, methods: {