diff --git a/.env b/.env index 96246b7..3e8193c 100644 --- a/.env +++ b/.env @@ -25,13 +25,13 @@ VITE_IMAGE_BASE_PATH = http://123.156.230.15:8089/api # 线上 # ******************** 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://pjcloud.center.takin.cc/ # 张 -# VITE_APP_DEV_SERVICE = http://localhost:9999 -VITE_APP_DEV_SERVICE = http://123.156.230.15:8089/api # 线上 +#VITE_APP_DEV_SERVICE = http://192.168.101.29:9999 # 邓-本地 +#VITE_APP_DEV_SERVICE = http://127.0.0.1:9999 +# VITE_APP_DEV_SERVICE = http://123.156.230.15:8089/api +VITE_APP_DEV_SERVICE = http://localhost:9999 # ******************** end 开发环境 end ******************** # ******************** start 生产环境 start ******************** #VITE_APP_PROD_SERVICE = http://123.156.228.134:48080/app-api -VITE_APP_PROD_SERVICE = https://stgl.pj.gov.cn/app-api -# ******************** end 生产环境 end ******************** \ No newline at end of file +VITE_APP_PROD_SERVICE = http://123.156.230.15:8089/api +# ******************** end 生产环境 end ******************** diff --git a/package.json b/package.json index 9c3da15..d41bb0c 100644 --- a/package.json +++ b/package.json @@ -64,6 +64,7 @@ "dayjs": "^1.11.13", "luch-request": "^3.1.1", "pinia": "^2.2.6", + "qs": "^6.13.1", "radash": "^12.1.0", "vue": "^3.3.11", "vue-i18n": "^9.1.9", @@ -86,4 +87,4 @@ "vite": "5.2.8", "vue-tsc": "^1.0.24" } -} \ No newline at end of file +} 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 = () => {