This commit is contained in:
yuping
2022-12-14 17:17:52 +08:00
parent 1092cb5d3d
commit 1b1834b3db
3 changed files with 3 additions and 3 deletions

View File

@@ -87,7 +87,7 @@ export async function request(_url, params) {
'X-Token': localStorage.getItem('token'),
...method !== 'get' ? {'Content-Type': 'application/json'} : {}
},
baseURL: '',
baseURL: '/manageApi-release',
...method !== 'get' ? {data: JSON.stringify(body)} : {}
}).then(resp => resp.data).then(response => {
if (response.code !== 200 && response.code !== 0) {

View File

@@ -20,7 +20,7 @@ const routes = [
]
const router = createRouter({
history: createWebHistory("/fe-student"),
history: createWebHistory("/fe-student-release"),
routes
})

View File

@@ -16,7 +16,7 @@ const path = require('path')
const url = 'http://111.231.196.214:30001'
export default defineConfig(({ command }) =>
({
base: '/fe-student',
base: '/fe-student-release',
plugins: [
vue(),
// legacy({