添加lodash-es

This commit is contained in:
WindowBird 2025-11-19 10:00:53 +08:00
parent b9a6de7f92
commit de44ad012a
3 changed files with 11 additions and 2 deletions

7
package-lock.json generated
View File

@ -11,6 +11,7 @@
"dependencies": {
"@climblee/uv-ui": "^1.1.20",
"@dcloudio/uni-app": "3.0.0-4070520250711001",
"lodash-es": "^4.17.21",
"qrcode": "^1.5.4",
"uview-ui": "^1.8.8",
"vue": "^3.3.0",
@ -2799,6 +2800,12 @@
"dev": true,
"license": "MIT"
},
"node_modules/lodash-es": {
"version": "4.17.21",
"resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz",
"integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==",
"license": "MIT"
},
"node_modules/lodash.camelcase": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz",

View File

@ -26,6 +26,7 @@
"dependencies": {
"@climblee/uv-ui": "^1.1.20",
"@dcloudio/uni-app": "3.0.0-4070520250711001",
"lodash-es": "^4.17.21",
"qrcode": "^1.5.4",
"uview-ui": "^1.8.8",
"vue": "^3.3.0",

View File

@ -1,5 +1,6 @@
// 统一请求工具
import { getTempToken, shouldUseTempToken, getAppId } from '@/config/dev.js'
import { debounce } from 'lodash-es'
import {
showLoading,
hideLoading,
@ -19,8 +20,8 @@ const ENV_CONFIG = {
release: {
// 正式版
// baseUrl: 'https://chu.chuangtewl.com/prod-api',
// baseUrl: 'http://192.168.2.100:4601',
baseUrl: 'http://192.168.2.100:4601',
baseUrl: 'http://192.168.1.6:4601',
// baseUrl: 'https://chu.chuangtewl.com/prod-api',
appId: 1,
},
}