From 72c0f86c75c8a9a5eb7435d72b6ebece4c5382e8 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期二, 14 四月 2026 18:21:27 +0800
Subject: [PATCH] feat: 添加vue3-json-viewer并优化日志显示
---
Code/WCS/WIDESEAWCS_Client/package.json | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/Code/WCS/WIDESEAWCS_Client/package.json b/Code/WCS/WIDESEAWCS_Client/package.json
index aa5177b..d346149 100644
--- a/Code/WCS/WIDESEAWCS_Client/package.json
+++ b/Code/WCS/WIDESEAWCS_Client/package.json
@@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"scripts": {
- "dev": "vite",
+ "serve": "vite",
"build": "vite build",
"preview": "vite preview",
"lint": "eslint --ext .js,.vue src"
@@ -21,10 +21,12 @@
"vue-draggable-next": "^2.0.1",
"vue-router": "^4.0.0-0",
"vuex": "^4.0.0-0",
+ "vue3-json-viewer": "^2.4.1",
"wangeditor": "^4.7.6"
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.0.0",
+ "@vitejs/plugin-vue-jsx": "^5.1.5",
"@vue/compiler-sfc": "^3.0.0",
"eslint": "^8.50.0",
"less": "^4.1.1",
@@ -54,6 +56,5 @@
},
"eslintIgnore": [
"*"
- ],
- "packageManager": "yarn@4.12.0"
+ ]
}
--
Gitblit v1.9.3