From 4f75a10dbf94419b29f274293a0f96914dea86c4 Mon Sep 17 00:00:00 2001 From: dzc <2388224167@qq.com> Date: Thu, 9 Jan 2025 09:21:52 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E4=B8=8B=E5=8D=95=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 4 +- src/pages/merchant/components/product-car.vue | 4 +- src/pages/merchant/detail.vue | 45 ++----- src/pages/merchant/food.vue | 6 +- src/pages/merchant/product-detail.vue | 119 ++++++++++-------- src/sheep/api/food.ts | 12 +- src/sheep/api/product.ts | 2 +- 7 files changed, 95 insertions(+), 97 deletions(-) diff --git a/.env b/.env index 853ae6a..e364819 100644 --- a/.env +++ b/.env @@ -22,8 +22,8 @@ VITE_IMAGE_BASE_PATH = http://localhost:9999 # ******************** start 开发环境 start ******************** # VITE_APP_DEV_SERVICE =http://123.156.228.134:48080/app-api # VITE_APP_DEV_SERVICE = https://stgl.pj.gov.cn/app-api -VITE_APP_DEV_SERVICE = http://192.168.101.29:9999 # 邓-本地 -# VITE_APP_DEV_SERVICE = http://localhost:9999 +# VITE_APP_DEV_SERVICE = http://192.168.101.29:9999 # 邓-本地 +VITE_APP_DEV_SERVICE = http://localhost:9999 # ******************** end 开发环境 end ******************** # ******************** start 生产环境 start ******************** diff --git a/src/pages/merchant/components/product-car.vue b/src/pages/merchant/components/product-car.vue index 19a9b84..d8e464e 100644 --- a/src/pages/merchant/components/product-car.vue +++ b/src/pages/merchant/components/product-car.vue @@ -8,6 +8,8 @@ import { merchantApi } from "@@/api" import ProductRow from './product-row.vue' import ProductTotal from './product-total.vue' +import { filePath } from "@@/utils/file"; + const emit = defineEmits(["update:modelValue", "submit", "doContainer", "add", "remove"]) export type Props = { @@ -57,7 +59,7 @@ const getHeight = () => {