diff --git a/code/web/regulatory-management-util/7788.md b/code/web/regulatory-management-util/7788.md deleted file mode 100644 index 6b436d7..0000000 --- a/code/web/regulatory-management-util/7788.md +++ /dev/null @@ -1,18 +0,0 @@ -## vue3 引入@路径 -path模块问题 -要安装@type/node:npm install @types/node --save-dev -之后就可以加载path -import path from "path"; -resolve: { - //配置别名 - alias: [ - { - find: /^~/, - replacement: "", - }, - { - find: "@", - replacement: path.resolve( __dirname, "src" ), - }, - ], - }, \ No newline at end of file diff --git a/code/web/regulatory-management-util/package-lock.json b/code/web/regulatory-management-util/package-lock.json index 3467390..a625f03 100644 --- a/code/web/regulatory-management-util/package-lock.json +++ b/code/web/regulatory-management-util/package-lock.json @@ -13,6 +13,7 @@ "vue-router": "^4.6.3" }, "devDependencies": { + "@element-plus/icons-vue": "^2.3.2", "@stylistic/eslint-plugin": "^5.5.0", "@types/node": "^24.9.1", "@typescript-eslint/eslint-plugin": "^8.46.2", @@ -24,7 +25,6 @@ "eslint-plugin-vue": "^10.5.1", "path": "^0.12.7", "sass": "^1.93.2", - "sass-loader": "^16.0.5", "typescript": "~5.9.3", "vite": "^7.1.12", "vue-eslint-parser": "^10.2.0", @@ -89,7 +89,7 @@ }, "node_modules/@element-plus/icons-vue": { "version": "2.3.2", - "resolved": "https://registry.npmjs.org/@element-plus/icons-vue/-/icons-vue-2.3.2.tgz", + "resolved": "https://registry.npmmirror.com/@element-plus/icons-vue/-/icons-vue-2.3.2.tgz", "integrity": "sha512-OzIuTaIfC8QXEPmJvB4Y4kw34rSXdCJzxcD1kFStBvr8bK6X1zQAYDo0CNMjojnfTqRQCJ0I7prlErcoRiET2A==", "dev": true, "license": "MIT", @@ -3203,13 +3203,6 @@ "dev": true, "license": "MIT" }, - "node_modules/neo-async": { - "version": "2.6.2", - "resolved": "https://registry.npmmirror.com/neo-async/-/neo-async-2.6.2.tgz", - "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", - "dev": true, - "license": "MIT" - }, "node_modules/node-addon-api": { "version": "7.1.1", "resolved": "https://registry.npmmirror.com/node-addon-api/-/node-addon-api-7.1.1.tgz", @@ -3580,47 +3573,6 @@ "@parcel/watcher": "^2.4.1" } }, - "node_modules/sass-loader": { - "version": "16.0.5", - "resolved": "https://registry.npmmirror.com/sass-loader/-/sass-loader-16.0.5.tgz", - "integrity": "sha512-oL+CMBXrj6BZ/zOq4os+UECPL+bWqt6OAC6DWS8Ln8GZRcMDjlJ4JC3FBDuHJdYaFWIdKNIBYmtZtK2MaMkNIw==", - "dev": true, - "license": "MIT", - "dependencies": { - "neo-async": "^2.6.2" - }, - "engines": { - "node": ">= 18.12.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependencies": { - "@rspack/core": "0.x || 1.x", - "node-sass": "^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0", - "sass": "^1.3.0", - "sass-embedded": "*", - "webpack": "^5.0.0" - }, - "peerDependenciesMeta": { - "@rspack/core": { - "optional": true - }, - "node-sass": { - "optional": true - }, - "sass": { - "optional": true - }, - "sass-embedded": { - "optional": true - }, - "webpack": { - "optional": true - } - } - }, "node_modules/scss": { "version": "0.2.4", "resolved": "https://registry.npmmirror.com/scss/-/scss-0.2.4.tgz", diff --git a/code/web/regulatory-management-util/package.json b/code/web/regulatory-management-util/package.json index 86f551f..4ddb1fd 100644 --- a/code/web/regulatory-management-util/package.json +++ b/code/web/regulatory-management-util/package.json @@ -14,6 +14,7 @@ "vue-router": "^4.6.3" }, "devDependencies": { + "@element-plus/icons-vue": "^2.3.2", "@stylistic/eslint-plugin": "^5.5.0", "@types/node": "^24.9.1", "@typescript-eslint/eslint-plugin": "^8.46.2", @@ -25,7 +26,6 @@ "eslint-plugin-vue": "^10.5.1", "path": "^0.12.7", "sass": "^1.93.2", - "sass-loader": "^16.0.5", "typescript": "~5.9.3", "vite": "^7.1.12", "vue-eslint-parser": "^10.2.0", diff --git a/code/web/regulatory-management-util/src/layout/console/components/Aside.vue b/code/web/regulatory-management-util/src/layout/console/components/Aside.vue index c3b2a2e..15a2a17 100644 --- a/code/web/regulatory-management-util/src/layout/console/components/Aside.vue +++ b/code/web/regulatory-management-util/src/layout/console/components/Aside.vue @@ -72,8 +72,7 @@ Copyright © CPIC All rights reserved \ No newline at end of file