diff --git a/.env.development b/.env.development index f915f89..9964ec4 100644 --- a/.env.development +++ b/.env.development @@ -1 +1,3 @@ VITE_API_BASE_URL=http://localhost:8888 +VITE_H5_QRCODE_BASE_URL= +VITE_H5_QRCODE_PATH=/mobile/personal-open diff --git a/.env.production b/.env.production index b8ca0df..d0c2f85 100644 --- a/.env.production +++ b/.env.production @@ -1 +1,3 @@ VITE_API_BASE_URL= +VITE_H5_QRCODE_BASE_URL= +VITE_H5_QRCODE_PATH=/mobile/personal-open diff --git a/package-lock.json b/package-lock.json index b5c2a1e..0c34728 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,6 +13,7 @@ "axios": "^1.7.0", "dayjs": "^1.11.10", "pinia": "^2.1.7", + "qrcode.vue": "^3.10.0", "vue": "^3.4.0", "vue-router": "^4.3.0", "xlsx": "^0.18.5" @@ -2225,6 +2226,15 @@ "node": ">=10" } }, + "node_modules/qrcode.vue": { + "version": "3.10.0", + "resolved": "https://registry.npmjs.org/qrcode.vue/-/qrcode.vue-3.10.0.tgz", + "integrity": "sha512-1bjeBds9hRKMszZuBuYQZor9HdJYWtb0S44HG1JofZ9uicpJpdF+TtDvqo3+2ZlH0k80WVIkmiKB4hq0/N6/rA==", + "license": "MIT", + "peerDependencies": { + "vue": "^3.0.0" + } + }, "node_modules/qs": { "version": "6.15.3", "resolved": "https://registry.npmjs.org/qs/-/qs-6.15.3.tgz", diff --git a/package.json b/package.json index b575ef3..002074b 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "axios": "^1.7.0", "dayjs": "^1.11.10", "pinia": "^2.1.7", + "qrcode.vue": "^3.10.0", "vue": "^3.4.0", "vue-router": "^4.3.0", "xlsx": "^0.18.5"