Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
罗鑫霖
/
vion-tools
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 4cf0b018
authored
Jan 07, 2022
by
李金轩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
ljx
1 parent
0223808e
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
7 deletions
static/index.html
static/js/common.js
static/js/home.js
static/js/request.js
static/index.html
View file @
4cf0b01
...
...
@@ -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'"
>
聚类结果
...
...
static/js/common.js
View file @
4cf0b01
static/js/home.js
View file @
4cf0b01
...
...
@@ -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
{
...
...
static/js/request.js
View file @
4cf0b01
...
...
@@ -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
=>
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment