mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-10 03:16:47 +08:00
init
This commit is contained in:
@@ -87,7 +87,7 @@ export async function request(_url, params) {
|
||||
'X-Token': localStorage.getItem('token'),
|
||||
...method !== 'get' ? {'Content-Type': 'application/json'} : {}
|
||||
},
|
||||
baseURL: '/manageApi-release',
|
||||
baseURL: '/manageApi-release/',
|
||||
...method !== 'get' ? {data: JSON.stringify(body)} : {}
|
||||
}).then(resp => resp.data).then(response => {
|
||||
if (response.code !== 200 && response.code !== 0) {
|
||||
|
||||
@@ -16,7 +16,7 @@ const path = require('path')
|
||||
const url = 'http://111.231.196.214:30001'
|
||||
export default defineConfig(({ command }) =>
|
||||
({
|
||||
base: '/fe-student-release',
|
||||
base: '/fe-student-release/',
|
||||
plugins: [
|
||||
vue(),
|
||||
// legacy({
|
||||
|
||||
Reference in New Issue
Block a user