修改vite需要替换的原始配置

This commit is contained in:
蒋吉兆
2021-09-04 16:04:07 +08:00
parent a785f12fb3
commit ebca96d95c
19 changed files with 430 additions and 327 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ import ChooseImg from '@/components/chooseImg'
import { setUserInfo, changePassword } from '@/api/user'
import { mapGetters, mapMutations } from 'vuex'
const path = process.env.VUE_APP_BASE_API
const path = import.meta.env.VITE_BASE_API
export default {
name: 'Person',
components: {