Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
Videodiagnosis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
苗家乐
Videodiagnosis
Commits
1a78e541
Commit
1a78e541
authored
2 years ago
by
miaojiale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复bug
parent
1d0747d1
master
songjiang
wenrenmin
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
http.js
src/axios/request/http.js
+1
-1
peopleList.vue
src/pages/peopleList.vue
+10
-0
No files found.
src/axios/request/http.js
View file @
1a78e541
...
...
@@ -15,7 +15,7 @@ let CommonAlert = function (msg) {
// axios.defaults.timeout = 5000;
if
(
process
.
env
.
NODE_ENV
==
"
development
"
)
{
//
axios.defaults.baseURL = "https://inno.sh-sict.com/gastric-api/";
axios
.
defaults
.
baseURL
=
"
https://inno.sh-sict.com/gastric-api/
"
;
}
else
{
axios
.
defaults
.
baseURL
=
process
.
env
.
VUE_APP_URL
;
}
...
...
This diff is collapsed.
Click to expand it.
src/pages/peopleList.vue
View file @
1a78e541
...
...
@@ -92,6 +92,11 @@ export default {
}
this
.
finished
=
false
;
this
.
$API
.
getPeopleList
(
data
).
then
(
res
=>
{
if
(
res
.
code
==
-
100
)
{
sessionStorage
.
setItem
(
'
getList
'
,
true
)
}
else
{
sessionStorage
.
removeItem
(
'
getList
'
)
}
this
.
loading
=
false
this
.
totalCount
=
res
.
object
?.
totalCount
this
.
peopleList
=
[...
this
.
peopleList
,
...
res
.
object
.
list
]
...
...
@@ -106,6 +111,11 @@ export default {
},
},
activated
()
{
let
getList
=
sessionStorage
.
getItem
(
'
getList
'
)
if
(
getList
)
{
this
.
peopleList
=
[]
this
.
getList
()
}
const
scrollTops
=
this
.
$route
.
meta
.
scrollTop
;
const
$content
=
document
.
querySelector
(
'
.list_content
'
);
if
(
scrollTops
&&
$content
)
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment