Browse Source

😁升级npm依赖版本及代码调整(修复弹出框无效等问题)

zuohuaijun 2 năm trước cách đây
mục cha
commit
c435ee4adb
2 tập tin đã thay đổi với 9 bổ sung9 xóa
  1. 8 8
      Web/package.json
  2. 1 1
      Web/src/router/backEnd.ts

+ 8 - 8
Web/package.json

@@ -31,7 +31,7 @@
 		"jsplumb": "^2.15.6",
 		"lodash-es": "^4.17.21",
 		"mitt": "^3.0.1",
-		"monaco-editor": "^0.45.0",
+		"monaco-editor": "^0.46.0",
 		"nprogress": "^0.2.0",
 		"pinia": "^2.1.7",
 		"print-js": "^1.6.0",
@@ -43,7 +43,7 @@
 		"splitpanes": "^3.1.5",
 		"vcrontab-3": "^3.3.22",
 		"vform3-builds": "^3.0.10",
-		"vue": "^3.4.15",
+		"vue": "^3.4.18",
 		"vue-clipboard3": "^2.0.0",
 		"vue-demi": "^0.14.7",
 		"vue-grid-layout": "3.0.0-beta1",
@@ -57,22 +57,22 @@
 	},
 	"devDependencies": {
 		"@types/lodash-es": "^4.17.12",
-		"@types/node": "^20.11.16",
+		"@types/node": "^20.11.17",
 		"@types/nprogress": "^0.2.3",
 		"@types/sortablejs": "^1.15.7",
-		"@typescript-eslint/eslint-plugin": "^6.20.0",
-		"@typescript-eslint/parser": "^6.20.0",
+		"@typescript-eslint/eslint-plugin": "^6.21.0",
+		"@typescript-eslint/parser": "^6.21.0",
 		"@vitejs/plugin-vue": "^5.0.3",
 		"@vitejs/plugin-vue-jsx": "^3.1.0",
-		"@vue/compiler-sfc": "^3.4.15",
+		"@vue/compiler-sfc": "^3.4.18",
 		"code-inspector-plugin": "^0.7.0",
 		"eslint": "^8.56.0",
 		"eslint-plugin-vue": "^9.21.1",
 		"less": "^4.2.0",
-		"prettier": "^3.2.4",
+		"prettier": "^3.2.5",
 		"sass": "^1.70.0",
 		"typescript": "^5.3.3",
-		"vite": "^5.0.12",
+		"vite": "^5.1.1",
 		"vite-plugin-cdn-import": "^0.3.5",
 		"vite-plugin-compression": "^0.5.1",
 		"vite-plugin-vue-setup-extend-plus": "^0.1.0",

+ 1 - 1
Web/src/router/backEnd.ts

@@ -136,7 +136,7 @@ export async function setBackEndControlRefreshRoutes() {
 export function backEndComponent(routes: any) {
 	if (!routes) return;
 	return routes.map((item: any) => {
-		if (!item.path) item.path = ""; //此处是为了防止后端返回的路由没有path属性,导致路由报错
+		if (!item.path) item.path = ''; // 防止后端返回的路由没有path属性,导致路由报错
 		if (item.component) item.component = dynamicImport(dynamicViewsModules, item.component as string);
 		item.children && backEndComponent(item.children);
 		return item;