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