From 84732690998cd0d2aa1b82b1f80d572f87c84ea2 Mon Sep 17 00:00:00 2001
From: alex_q <914269@qq.com>
Date: Fri, 27 Nov 2026 21:25:22 +0800
Subject: [PATCH] =?UTF-8?q?v1.9=20=E8=BD=AF=E4=BB=B6=E5=8A=A0server?=
=?UTF-8?q?=E5=9C=B0=E5=9D=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.env.development | 2 +-
package.json | 7 ++-----
pnpm-workspace.yaml | 5 +++++
src/api/rnb/index.ts | 1 +
src/views/rnb/software/softwareList.vue | 12 +++++++++++-
5 files changed, 20 insertions(+), 7 deletions(-)
create mode 100644 pnpm-workspace.yaml
diff --git a/.env.development b/.env.development
index b87bd81..82acd76 100644
--- a/.env.development
+++ b/.env.development
@@ -6,7 +6,7 @@ VITE_APP_BASE_API=/dev-api
# 接口地址
VITE_APP_API_URL=http://localhost:10800
-# VITE_APP_API_URL=http://23.236.66.46:88 # 线上环境
+# VITE_APP_API_URL=http://124.220.61.195:98 # 线上环境
# WebSocket 端点(不配置则关闭),线上 ws://api.youlai.tech/ws ,本地 ws://localhost:8989/ws
VITE_APP_WS_ENDPOINT=
diff --git a/package.json b/package.json
index 79308da..7628584 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "红与蓝授权管理",
"description": "红与蓝授权管理系统",
- "version": "1.8",
+ "version": "1.9",
"private": true,
"type": "module",
"scripts": {
@@ -121,8 +121,5 @@
},
"engines": {
"node": ">=18.0.0"
- },
- "repository": "https://gitee.com/youlaiorg/vue3-element-admin.git",
- "author": "有来开源组织",
- "license": "MIT"
+ }
}
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
new file mode 100644
index 0000000..ceed0c0
--- /dev/null
+++ b/pnpm-workspace.yaml
@@ -0,0 +1,5 @@
+allowBuilds:
+ '@parcel/watcher': true
+ es5-ext: true
+ esbuild: true
+ vue-demi: true
diff --git a/src/api/rnb/index.ts b/src/api/rnb/index.ts
index 42ab568..816efa2 100644
--- a/src/api/rnb/index.ts
+++ b/src/api/rnb/index.ts
@@ -235,6 +235,7 @@ export interface SoftwareVO {
verLatest?: number; //最新版本号
verValid?: number; //有效版本号
upgradePath?: string; //更新包地址
+ server?: string; //服务器地址
deprecated?: number; //停用状态 0=正常 1=停用
}
diff --git a/src/views/rnb/software/softwareList.vue b/src/views/rnb/software/softwareList.vue
index e1e2e84..a915134 100644
--- a/src/views/rnb/software/softwareList.vue
+++ b/src/views/rnb/software/softwareList.vue
@@ -36,6 +36,12 @@
header-align="center"
min-width="250"
/>
+
已停用
@@ -117,6 +123,9 @@
+
+
+
@@ -240,6 +249,7 @@ function handleOpenDrawer(sw?: SoftwareVO) {
verLatest: sw.verLatest,
verValid: sw.verValid,
upgradePath: sw.upgradePath,
+ server: sw.server,
deprecated: sw.deprecated,
};
// console.log(accout, accountData.value);
@@ -295,8 +305,8 @@ onUnmounted(() => {});