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 65ead378
authored
Jun 09, 2022
by
李君
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
数据重放
1 parent
4af6d4ad
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
29 additions
and
1 deletions
src/Request/PublicAxiosInstance.js
src/router/index.js
src/views/DataReplay/DataReplay.js
src/views/DataReplay/DataReplay.vue
src/views/Main/Main.vue
src/Request/PublicAxiosInstance.js
View file @
65ead37
...
@@ -15,7 +15,7 @@ const axiosInstance = axios.create(
...
@@ -15,7 +15,7 @@ const axiosInstance = axios.create(
axiosInstance
.
interceptors
.
request
.
use
(
axiosInstance
.
interceptors
.
request
.
use
(
config
=>
{
config
=>
{
// Cookies.set('atoken','
3f719c88-cfe6-42f6-b2c7-a6b355c46c10
')
// Cookies.set('atoken','
1a1fea7a-7ff1-4055-811d-32603abbba06
')
if
(
!
Cookies
.
get
(
'atoken'
)){
if
(
!
Cookies
.
get
(
'atoken'
)){
ElMessage
({
ElMessage
({
message
:
`登录过期,请重新登录`
,
message
:
`登录过期,请重新登录`
,
...
...
src/router/index.js
View file @
65ead37
...
@@ -49,6 +49,10 @@ const menuRoute = [
...
@@ -49,6 +49,10 @@ const menuRoute = [
path
:
'SystemLog'
,
path
:
'SystemLog'
,
component
:
()
=>
import
(
"@/views/SystemLog/index.vue"
),
component
:
()
=>
import
(
"@/views/SystemLog/index.vue"
),
},
},
{
path
:
'DataReplay'
,
component
:
()
=>
import
(
"@/views/DataReplay/DataReplay.vue"
),
},
]
]
},
},
]
]
...
...
src/views/DataReplay/DataReplay.js
0 → 100644
View file @
65ead37
import
axiosInstance
from
"@/Request/PublicAxiosInstance"
import
{
filterEmptyValueInObject
}
from
"@/PublicUtil/PublicUtil"
class
DataReplay
{
getRematch
(
data
)
{
return
axiosInstance
.
request
(
{
method
:
'POST'
,
url
:
`/rematch`
,
data
:
data
}
)
}
}
const
DataReplayApi
=
new
DataReplay
()
export
default
DataReplayApi
src/views/DataReplay/DataReplay.vue
View file @
65ead37
This diff is collapsed.
Click to expand it.
src/views/Main/Main.vue
View file @
65ead37
...
@@ -85,6 +85,12 @@
...
@@ -85,6 +85,12 @@
<span
style=
"padding: 0 5px"
>
系统日志
</span>
<span
style=
"padding: 0 5px"
>
系统日志
</span>
</div>
</div>
</a-menu-item>
</a-menu-item>
<a-menu-item
:key=
"'/Main/DataReplay'"
>
<div
class=
"flex-vertical-center"
>
<img
:src=
"require('./Icons/2.svg')"
style=
"height: auto;width:20px"
/>
<span
style=
"padding: 0 5px"
>
数据重放
</span>
</div>
</a-menu-item>
</a-menu>
</a-menu>
</el-aside>
</el-aside>
<el-main>
<el-main>
...
...
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