1
0
mirror of https://github.com/zclzone/vue-naive-admin.git synced 2026-01-22 23:50:22 +08:00

feat: 补充production环境变量

This commit is contained in:
zclzone
2024-05-29 21:54:41 +08:00
parent 905476abf7
commit 5766510ad9
2 changed files with 3 additions and 1 deletions

View File

@@ -118,7 +118,7 @@ const loginInfo = ref({
const captchaUrl = ref('')
const initCaptcha = throttle(() => {
captchaUrl.value = '/api/auth/captcha?' + Date.now()
captchaUrl.value = import.meta.env.VITE_AXIOS_BASE_URL + '/auth/captcha?' + Date.now()
}, 500)
const localLoginInfo = lStorage.get('loginInfo')