Commit 4cf0b018 by 李金轩

ljx

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