This commit is contained in:
yuping
2022-12-14 17:28:06 +08:00
parent 1b1834b3db
commit 2f56b80c2e
2 changed files with 2 additions and 2 deletions

View File

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

View File

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