@@ -3,4 +3,4 @@ ENV = 'development' | |||
# .env.development | |||
# base api | |||
VITE_APP_BASE_URL = 'http://localhost:8080' | |||
VITE_APP_BASE_URL = 'http://10.52.0.172:10389/csms' |
@@ -3,4 +3,4 @@ ENV = 'production' | |||
# .env.production | |||
# base api | |||
VITE_APP_BASE_URL = 'http://localhost:8080' | |||
VITE_APP_BASE_URL = 'http://10.52.0.172:10389/csms' |
@@ -23,9 +23,9 @@ body { | |||
#app { | |||
width: 100%; | |||
height: 100%; | |||
font-family: 'Microsoft Yahei', Arial, sans-serif | |||
font-family: 'Microsoft Yahei', Arial, sans-serif; | |||
} | |||
#app .content-warpper{ | |||
#app .content-warpper { | |||
padding: 0 22px 20px; | |||
/* background: #f8f8f8; */ | |||
} |
@@ -3,7 +3,7 @@ import { reactive, ref, getCurrentInstance, onMounted } from 'vue' | |||
const { proxy }: any = getCurrentInstance() | |||
onMounted(() => { | |||
proxy.$request | |||
.get('api/user', {}) | |||
.post('api/uc/trafficrecord/query', {}) | |||
.then((res: any) => { | |||
console.log(res, '=====123') | |||
}) |