# .env.development | # .env.development | ||||
# base api | # base api | ||||
VITE_APP_BASE_URL = 'http://localhost:8080' | |||||
VITE_APP_BASE_URL = 'http://10.52.0.172:10389/csms' |
# .env.production | # .env.production | ||||
# base api | # base api | ||||
VITE_APP_BASE_URL = 'http://localhost:8080' | |||||
VITE_APP_BASE_URL = 'http://10.52.0.172:10389/csms' |
#app { | #app { | ||||
width: 100%; | width: 100%; | ||||
height: 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; | padding: 0 22px 20px; | ||||
/* background: #f8f8f8; */ | /* background: #f8f8f8; */ | ||||
} | } |
const { proxy }: any = getCurrentInstance() | const { proxy }: any = getCurrentInstance() | ||||
onMounted(() => { | onMounted(() => { | ||||
proxy.$request | proxy.$request | ||||
.get('api/user', {}) | |||||
.post('api/uc/trafficrecord/query', {}) | |||||
.then((res: any) => { | .then((res: any) => { | ||||
console.log(res, '=====123') | console.log(res, '=====123') | ||||
}) | }) |