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 39163ce7
authored
Nov 07, 2023
by
李君
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
eb251211
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
src/Request/PublicAxiosInstance.js
src/views/Main/Main.vue
src/Request/PublicAxiosInstance.js
View file @
39163ce
...
@@ -14,7 +14,7 @@ const axiosInstance = axios.create(
...
@@ -14,7 +14,7 @@ const axiosInstance = axios.create(
// 请求拦截器
// 请求拦截器
axiosInstance
.
interceptors
.
request
.
use
(
axiosInstance
.
interceptors
.
request
.
use
(
config
=>
{
config
=>
{
Cookies
.
set
(
'atoken'
,
'8246b767-9f23-47ac-bf2c-ef0ddfe8d629'
)
//
Cookies.set('atoken','8246b767-9f23-47ac-bf2c-ef0ddfe8d629')
if
(
!
Cookies
.
get
(
'atoken'
)){
if
(
!
Cookies
.
get
(
'atoken'
)){
ElMessage
({
ElMessage
({
message
:
`登录过期,请重新登录`
,
message
:
`登录过期,请重新登录`
,
...
...
src/views/Main/Main.vue
View file @
39163ce
...
@@ -118,7 +118,7 @@
...
@@ -118,7 +118,7 @@
<a-menu-item
:key=
"'/Main/SnapshotCluster1'"
>
<a-menu-item
:key=
"'/Main/SnapshotCluster1'"
>
<div
class=
"flex-vertical-center"
>
<div
class=
"flex-vertical-center"
>
<img
:src=
"require('./Icons/6.svg')"
style=
"height: auto;width:20px"
/>
<img
:src=
"require('./Icons/6.svg')"
style=
"height: auto;width:20px"
/>
<span
style=
"padding: 0 5px"
>
抓拍聚类
</span>
<span
style=
"padding: 0 5px"
>
抓拍聚类
删除
</span>
</div>
</div>
</a-menu-item>
</a-menu-item>
</a-menu>
</a-menu>
...
...
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