Compare commits
No commits in common. "092a66654ab959baead8fe38ba4257773396f825" and "fa23e953a9b80efe3e7d5a7f2443b6a56c244d05" have entirely different histories.
092a66654a
...
fa23e953a9
@ -1,8 +0,0 @@
|
||||
## 开发环境
|
||||
|
||||
# 变量必须以 VITE_ 为前缀才能暴露给外部读取
|
||||
NODE_ENV='development'
|
||||
|
||||
VITE_APP_TITLE = ''
|
||||
VITE_APP_PORT = 3000
|
||||
VITE_API_BASE_URL = '/api'
|
@ -1,6 +0,0 @@
|
||||
## 生产环境
|
||||
NODE_ENV='production'
|
||||
|
||||
VITE_APP_TITLE = 'NewFrameWork2023-WEB'
|
||||
VITE_APP_PORT = 3000
|
||||
VITE_API_BASE_URL = ''
|
@ -2,7 +2,6 @@ import axios from 'axios'
|
||||
import { ElMessage, ElMessageBox } from 'element-plus'
|
||||
import { useUserStore } from '@/store/user'
|
||||
import router from '@/router'
|
||||
console.log( import.meta.env.VITE_API_BASE_URL)
|
||||
|
||||
// 创建axios实例
|
||||
const service = axios.create({
|
||||
|
Loading…
Reference in New Issue
Block a user