From c35ae1b2bc7de2a607425e1cacd07dfd7b77121a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=B2=A1=E5=A4=8D=E4=B9=A0?= <2353956224@qq.com>
Date: Mon, 1 Dec 2025 20:05:37 +0800
Subject: [PATCH] =?UTF-8?q?3.1.0=E7=A8=B3=E5=AE=9A=E7=89=88?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.env.development | 4 ++--
.env.production | 2 +-
src/composables/useScreenStreams.js | 4 ++--
src/views/HomeView.vue | 2 +-
src/views/VideoStream.vue | 8 ++++----
5 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/.env.development b/.env.development
index 945ed78..a74c806 100644
--- a/.env.development
+++ b/.env.development
@@ -1,6 +1,6 @@
# iOS 控制服务
-VUE_APP_BASE_LOCAL=https://192.168.1.231:34567/
-# VUE_APP_BASE_LOCAL=https://127.0.0.1:34567/
+# VUE_APP_BASE_LOCAL=https://192.168.1.218:34567/
+VUE_APP_BASE_LOCAL=https://127.0.0.1:34567/
# VUE_APP_BASE_LOCAL=https://192.168.1.209:34567/
# 业务后端(开发用内网地址)
diff --git a/.env.production b/.env.production
index d9f23c0..f824511 100644
--- a/.env.production
+++ b/.env.production
@@ -1,5 +1,5 @@
# iOS 控制服务(如果生产环境也要用内网可改)
-VUE_APP_BASE_LOCAL=http://127.0.0.1:34567/
+VUE_APP_BASE_LOCAL=https://127.0.0.1:34567/
# 业务后端(正式域名)
VUE_APP_BASE_REMOTE=https://crawlclient.api.yolozs.com
diff --git a/src/composables/useScreenStreams.js b/src/composables/useScreenStreams.js
index 4ca4459..8b1a977 100644
--- a/src/composables/useScreenStreams.js
+++ b/src/composables/useScreenStreams.js
@@ -21,8 +21,8 @@ export function useScreenStreams(deviceInformation) {
// 每台设备循环状态
const loops = new Map() // deviceId -> { timer, stopped }
- const makeUrl = (port) => `http://192.168.1.231:${port}/?t=${Date.now()}`
- // const makeUrl = (port) => `http://localhost:${port}/?t=${Date.now()}`
+ // const makeUrl = (port) => `http://192.168.1.218:${port}/?t=${Date.now()}`
+ const makeUrl = (port) => `http://localhost:${port}/?t=${Date.now()}`
function hardCloseImg(deviceId) {
const el = imgRefs.value[deviceId]
diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue
index 9cd0662..38be247 100644
--- a/src/views/HomeView.vue
+++ b/src/views/HomeView.vue
@@ -79,7 +79,7 @@ import { getToken, setToken, setUser, setUserPass, getUserPass } from '@/stores/
import { ElLoading, ElMessage } from 'element-plus';
import { passToken } from '@/api/ios';
-let version = ref('3.0.0');
+let version = ref('3.2.0');
onMounted(() => {
diff --git a/src/views/VideoStream.vue b/src/views/VideoStream.vue
index 3ffc195..aeebe32 100644
--- a/src/views/VideoStream.vue
+++ b/src/views/VideoStream.vue
@@ -21,8 +21,8 @@