Merge branch 'master' of http://49.232.99.129:3000/admin/jurong_circle_agent_backstage
This commit is contained in:
@@ -7,8 +7,8 @@ const config = {
|
||||
},
|
||||
production: {
|
||||
baseURL: 'https://minio.zrbjr.com',
|
||||
uploadURL: `${window.location.origin}/api/upload`,
|
||||
apiURL: `${window.location.origin}/api`
|
||||
uploadURL: `/api/upload`,
|
||||
apiURL: `/api`
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -125,6 +125,8 @@ const handleLogin = async () => {
|
||||
captchaId: captchaInfo.captchaId,
|
||||
captchaText: captchaInfo.captchaText
|
||||
})
|
||||
console.log(result,'result');
|
||||
|
||||
|
||||
if (result.success) {
|
||||
console.log('登录信息:',JSON.parse(localStorage.getItem('admin_user')))
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import {defineConfig} from 'vite'
|
||||
import vue from '@vitejs/plugin-vue'
|
||||
import { resolve } from 'path'
|
||||
import {resolve} from 'path'
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
@@ -16,7 +16,7 @@ export default defineConfig({
|
||||
port: 5174,
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://192.168.0.11:3002',
|
||||
target: 'http://192.168.1.43:3002',
|
||||
changeOrigin: true
|
||||
},
|
||||
// '/admin': {
|
||||
@@ -24,7 +24,7 @@ export default defineConfig({
|
||||
// changeOrigin: true
|
||||
// },
|
||||
'/uploads': {
|
||||
target: 'http://192.168.0.11:3002',
|
||||
target: 'http://192.168.1.43:3002',
|
||||
changeOrigin: true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user