diff --git a/.env.development b/.env.development index 48ed9af..631ed2b 100644 --- a/.env.development +++ b/.env.development @@ -1 +1 @@ -VITE_API_BASE_URL=http://localhost:5098 \ No newline at end of file +VITE_API_BASE_URL=http://admin.gitdl.cn:50050 \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index fc91745..b15904b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,6 +9,7 @@ "version": "0.0.0", "dependencies": { "@element-plus/icons-vue": "^2.1.0", + "@fingerprintjs/fingerprintjs": "^4.5.1", "axios": "^1.7.8", "element-plus": "^2.9.0", "vue": "^3.3.4", @@ -429,6 +430,14 @@ "node": ">=12" } }, + "node_modules/@fingerprintjs/fingerprintjs": { + "version": "4.5.1", + "resolved": "https://registry.npmmirror.com/@fingerprintjs/fingerprintjs/-/fingerprintjs-4.5.1.tgz", + "integrity": "sha512-hKJaRoLHNeUUPhb+Md3pTlY/Js2YR4aXjroaDHpxrjoM8kGnEFyZVZxXo6l3gRyKnQN52Uoqsycd3M73eCdMzw==", + "dependencies": { + "tslib": "^2.4.1" + } + }, "node_modules/@floating-ui/core": { "version": "1.6.8", "resolved": "https://registry.npmmirror.com/@floating-ui/core/-/core-1.6.8.tgz", @@ -989,6 +998,11 @@ "node": ">=0.10.0" } }, + "node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmmirror.com/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + }, "node_modules/vite": { "version": "4.5.5", "resolved": "https://registry.npmmirror.com/vite/-/vite-4.5.5.tgz", diff --git a/package.json b/package.json index be76806..d02a42d 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ }, "dependencies": { "@element-plus/icons-vue": "^2.1.0", + "@fingerprintjs/fingerprintjs": "^4.5.1", "axios": "^1.7.8", "element-plus": "^2.9.0", "vue": "^3.3.4", diff --git a/src/App.vue b/src/App.vue index 005c7b3..c664e0e 100644 --- a/src/App.vue +++ b/src/App.vue @@ -20,8 +20,13 @@