From 57b6505bf40de42f802b5dde3efd3599d31f18f0 Mon Sep 17 00:00:00 2001 From: zmj <1493694146@qq.com> Date: Fri, 21 Jun 2024 14:43:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=B7=A5=E4=BD=9C=E5=8F=B0?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=EF=BC=8C=E4=BC=98=E5=8C=96=E4=BA=A4=E6=98=93?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=B1=95=E7=A4=BA=EF=BC=8C=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E6=A0=B8=E9=94=80=E8=AE=A2=E5=8D=95=E9=87=91=E9=A2=9D=E7=AD=89?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=B1=95=E7=A4=BA=E9=94=99=E8=AF=AF=EF=BC=8C?= =?UTF-8?q?=E5=B9=B6=E8=B0=83=E6=95=B4=E7=9B=B8=E5=85=B3API=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 10 +++++----- src/views/store/store_product/index.vue | 24 +++++++++++++----------- 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/.env.development b/.env.development index 189ac48..a01e119 100644 --- a/.env.development +++ b/.env.development @@ -1,8 +1,8 @@ NODE_ENV = 'development' -# Base API -# VITE_NOW_TYPE='dist/store' -# VITE_APP_BASE_URL='https://test-multi-store.lihaink.cn' +Base API +VITE_NOW_TYPE='dist/store' +VITE_APP_BASE_URL='https://test-multi-store.lihaink.cn' -VITE_NOW_TYPE='build/store' -VITE_APP_BASE_URL='https://multi-store.lihaink.cn' +# VITE_NOW_TYPE='build/store' +# VITE_APP_BASE_URL='https://multi-store.lihaink.cn' diff --git a/src/views/store/store_product/index.vue b/src/views/store/store_product/index.vue index 0ea0fcf..60e66b0 100644 --- a/src/views/store/store_product/index.vue +++ b/src/views/store/store_product/index.vue @@ -43,11 +43,13 @@ - - + + + + - +
@@ -107,13 +109,13 @@ const { pager, getLists, resetParams, resetPage } = usePaging({ }) // 上架&下架 -const changeStatus = (data: any) => { - apiStatus({ - id: data.id, - }).finally(() => { - getLists() - }) -} +// const changeStatus = (data: any) => { +// apiStatus({ +// id: data.id, +// }).finally(() => { +// getLists() +// }) +// } let store_id = useUserStore().userInfo.store_id