修改vite需要替换的原始配置
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user