update:恢复之前项目main配置

This commit is contained in:
lihaoyuan 2026-01-13 08:15:09 +08:00
parent 8a75f8a3b2
commit fef37eb16d
3 changed files with 4 additions and 37 deletions

35
package-lock.json generated
View File

@ -1,16 +1,16 @@
{ {
"name": "xiaofa-admin", "name": "lancer-admin",
"version": "2.0.12-dev", "version": "2.0.12-dev",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "xiaofa-admin", "name": "lancer-admin",
"version": "2.0.12-dev", "version": "2.0.12-dev",
"license": "Mozilla Public License Version 2.0",
"dependencies": { "dependencies": {
"@logicflow/core": "^1.0.2", "@logicflow/core": "^1.0.2",
"@logicflow/extension": "^1.0.2", "@logicflow/extension": "^1.0.2",
"@smallwei/avue": "^2.13.2",
"@vuemap/vue-amap": "^0.1.17", "@vuemap/vue-amap": "^0.1.17",
"axios": "^0.26.1", "axios": "^0.26.1",
"clipboard": "^2.0.10", "clipboard": "^2.0.10",
@ -2809,23 +2809,6 @@
"@sinonjs/commons": "^1.7.0" "@sinonjs/commons": "^1.7.0"
} }
}, },
"node_modules/@smallwei/avue": {
"version": "2.13.2",
"resolved": "https://repo.huaweicloud.com/repository/npm/@smallwei/avue/-/avue-2.13.2.tgz",
"integrity": "sha512-ctd8ul96xAdBXU6PJ2QkKlvZ89pVCha/aHM6rflLVD5HHU0N9KHvz0e2R52yyE87YuYpqiSO+OH7lckyVR+4kQ==",
"license": "MIT",
"dependencies": {
"countup.js": "^1.9.3",
"dayjs": "^1.10.4",
"lodash": "^4.17.21",
"nprogress": "^0.2.0",
"vue-cropper": "^0.5.8"
},
"peerDependencies": {
"element-ui": ">=2.15.3",
"vue": ">=2.5.17"
}
},
"node_modules/@soda/friendly-errors-webpack-plugin": { "node_modules/@soda/friendly-errors-webpack-plugin": {
"version": "1.8.1", "version": "1.8.1",
"resolved": "https://registry.npmmirror.com/@soda/friendly-errors-webpack-plugin/-/friendly-errors-webpack-plugin-1.8.1.tgz", "resolved": "https://registry.npmmirror.com/@soda/friendly-errors-webpack-plugin/-/friendly-errors-webpack-plugin-1.8.1.tgz",
@ -8144,12 +8127,6 @@
"node": ">=4" "node": ">=4"
} }
}, },
"node_modules/countup.js": {
"version": "1.9.3",
"resolved": "https://repo.huaweicloud.com/repository/npm/countup.js/-/countup.js-1.9.3.tgz",
"integrity": "sha512-UHf2P/mFKaESqdPq+UdBJm/1y8lYdlcDd0nTZHNC8cxWoJwZr1Eldm1PpWui446vDl5Pd8PtRYkr3q6K4+Qa5A==",
"license": "MIT"
},
"node_modules/cp-file": { "node_modules/cp-file": {
"version": "7.0.0", "version": "7.0.0",
"resolved": "https://registry.npmmirror.com/cp-file/-/cp-file-7.0.0.tgz", "resolved": "https://registry.npmmirror.com/cp-file/-/cp-file-7.0.0.tgz",
@ -29006,12 +28983,6 @@
"vue": "^2.1.8" "vue": "^2.1.8"
} }
}, },
"node_modules/vue-cropper": {
"version": "0.5.11",
"resolved": "https://repo.huaweicloud.com/repository/npm/vue-cropper/-/vue-cropper-0.5.11.tgz",
"integrity": "sha512-UeA3qL2BLCTGkOEAxEsxSNFO+qLYAn6YRHv4oS32cP9lMhF1vFmnAf/z+ZamtR0/Fh3sbZeZUCLVR2Ol2/dpTQ==",
"license": "ISC"
},
"node_modules/vue-eslint-parser": { "node_modules/vue-eslint-parser": {
"version": "8.3.0", "version": "8.3.0",
"resolved": "https://registry.npmmirror.com/vue-eslint-parser/-/vue-eslint-parser-8.3.0.tgz", "resolved": "https://registry.npmmirror.com/vue-eslint-parser/-/vue-eslint-parser-8.3.0.tgz",

View File

@ -26,7 +26,6 @@
"dependencies": { "dependencies": {
"@logicflow/core": "^1.0.2", "@logicflow/core": "^1.0.2",
"@logicflow/extension": "^1.0.2", "@logicflow/extension": "^1.0.2",
"@smallwei/avue": "^2.13.2",
"@vuemap/vue-amap": "^0.1.17", "@vuemap/vue-amap": "^0.1.17",
"axios": "^0.26.1", "axios": "^0.26.1",
"clipboard": "^2.0.10", "clipboard": "^2.0.10",

View File

@ -27,9 +27,6 @@ import { sprintf, translateTitle as __ } from '@/utils/i18n'
*/ */
import { baseURL, pwa } from './config' import { baseURL, pwa } from './config'
import { isExternal } from 'vue-plugin-utils' import { isExternal } from 'vue-plugin-utils'
import Avue from '@smallwei/avue';
import '@smallwei/avue/lib/index.css';
Vue.use(Avue);
if (process.env.NODE_ENV === 'production' && !isExternal(baseURL)) { if (process.env.NODE_ENV === 'production' && !isExternal(baseURL)) {
/* /*
@ -51,4 +48,4 @@ new Vue({
router, router,
baiduMap, baiduMap,
render: (h) => h(App), render: (h) => h(App),
}) })