From 96d153ac6d3e985abab2729855661ebd0b5cb7e1 Mon Sep 17 00:00:00 2001
From: b2894lxlx <517289602@qq.com>
Date: Mon, 20 Jul 2026 11:45:16 +0800
Subject: [PATCH] 20260720
---
.env.development | 3 ++-
.env.production | 2 +-
.gitignore | 1 +
.idea/.gitignore | 6 ++++++
config.js | 4 ++--
pages/index/index.vue | 2 +-
pages/order/delivery.vue | 3 ++-
7 files changed, 15 insertions(+), 6 deletions(-)
create mode 100644 .idea/.gitignore
diff --git a/.env.development b/.env.development
index f0b9f79..181c38f 100644
--- a/.env.development
+++ b/.env.development
@@ -1,2 +1,3 @@
VITE_APP_NAME=云芯威BMS
-apiUrl=https://yxw.wsdns.cn/api
\ No newline at end of file
+# apiUrl=https://yxw.wsdns.cn/api
+apiUrl=http://127.0.0.1:9090/api
\ No newline at end of file
diff --git a/.env.production b/.env.production
index 74dfb0a..c8b0ba4 100644
--- a/.env.production
+++ b/.env.production
@@ -1,2 +1,2 @@
VITE_APP_NAME=云芯威BMS
-VITE_API_URL=https://yxw.wsdns.cn/api
+VITE_API_URL=https://yxw-api.websoft.top/api
diff --git a/.gitignore b/.gitignore
index eb6c89d..6c20661 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/unpackage
/node_modules
/utils/request-1.js
+/node_modules/
diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..8bf4d45
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,6 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
diff --git a/config.js b/config.js
index b08c1eb..8027dbb 100644
--- a/config.js
+++ b/config.js
@@ -2,9 +2,9 @@ module.exports = {
// 系统名称
name: "云芯威BMS",
- apiUrl: "https://yxw.wsdns.cn/api", // 生产环境
+ apiUrl: "https://yxw-api.websoft.top/api", // 生产环境
// apiUrl: "http://127.0.0.1:9090/api", // 开发环境
- // apiUrl: "http://1.14.132.108:10090/api",// 内网穿透
+ // apiUrl: "http://47.107.122.174:9200/api",// 内网穿透
uploadUrl: 'https://file.wsdns.cn',
fileUrl: 'https://oss-yunxinwei.oss-cn-shenzhen.aliyuncs.com',
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 505b9f0..6dbcc15 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -8,7 +8,7 @@
- 扫码设备二维码下单租赁
+ 扫码
diff --git a/pages/order/delivery.vue b/pages/order/delivery.vue
index 53ea15b..ea752b3 100644
--- a/pages/order/delivery.vue
+++ b/pages/order/delivery.vue
@@ -292,13 +292,14 @@
fileType: 'image',
name: 'file'
}).then(res => {
+ console.log('res', res)
// app.orderSourceData.push(res.data.url)
if(app.orderSourceData[id-1]){
app.orderSourceData.splice(id-1, 1, res.data.url)
} else {
app.orderSourceData.push(res.data.url)
}
-
+ console.log('app.orderSourceData', app.orderSourceData)
})
}