Commit 4cf0b018 by 李金轩

ljx

1 parent 0223808e
......@@ -1057,7 +1057,7 @@
<div v-show="dateFormat === 'snapGatherClass'">
<el-menu mode="horizontal" mode="horizontal" @select="onMenuSelect" :default-active="'1'">
<el-menu-item :index="'1'">
抓拍结果
抓拍记录
</el-menu-item>
<el-menu-item :index="'2'">
聚类结果
......
window._serverHost = window.location.hostname === 'localhost' ? 'store.keliuyun.com:9998' : window.location.host
window._baseUrl = `http://${window._serverHost}`
window._CONF_ = {
window._CONF_ = {
reportApiUrl: '',
apiUrl: window._baseUrl,
webSockUrl: ''
......
......@@ -493,11 +493,11 @@ new Vue({
}
else if (this.dateFormat == "snapGatherClass")
{
// get(window._CONF_.apiUrl + '/face/faceRecord', {}).then(
// function(r) {
// log(r)
// }
// )
get(window._CONF_.apiUrl + '/faceRecognitions/faceRecord', {}).then(
function(r) {
log(r)
}
)
}
else
{
......
......@@ -9,9 +9,10 @@ const Axios = axios.create({
Axios.interceptors.request.use(
config => {
// const atoken = Cookies.get('atoken')
const atoken = Cookies.get('atoken')
// console.log('atoken', atoken)
// atoken && (config.headers.Authorization = atoken)
config.headers.Authorization = '648bb26c-4167-44c8-98f9-e2276cf184ad'
return config
},
error => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!