Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
epidemic
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
史锦峰
epidemic
Commits
305d73e3
Commit
305d73e3
authored
Feb 24, 2020
by
sjf1256754123
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d
parent
10e0ba33
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
index.vue
pages/index/index.vue
+5
-5
request.js
utils/request.js
+2
-2
No files found.
pages/index/index.vue
View file @
305d73e3
...
@@ -59,6 +59,11 @@
...
@@ -59,6 +59,11 @@
};
};
},
},
onLoad
:
function
(
option
)
{
onLoad
:
function
(
option
)
{
wx
.
showShareMenu
({
withShareTicket
:
true
})
},
onShow
()
{
let
that
=
this
let
that
=
this
// #ifdef MP-WEIXIN
// #ifdef MP-WEIXIN
wx
.
login
({
wx
.
login
({
...
@@ -73,11 +78,6 @@
...
@@ -73,11 +78,6 @@
})
})
// #endif
// #endif
},
},
onShow
()
{
if
(
this
.
$store
.
state
.
user
.
userInfo
.
idCard
){
this
.
getUserInfo
(
code
)
}
},
methods
:
{
methods
:
{
leader
(){
leader
(){
uni
.
navigateTo
({
uni
.
navigateTo
({
...
...
utils/request.js
View file @
305d73e3
...
@@ -10,8 +10,8 @@
...
@@ -10,8 +10,8 @@
import
store
from
'
../store
'
import
store
from
'
../store
'
export
default
class
Request
{
export
default
class
Request
{
config
=
{
config
=
{
//
baseUrl: 'https://health.sh-sict.com/ncov-api',
baseUrl
:
'
https://health.sh-sict.com/ncov-api
'
,
baseUrl
:
'
https://health.sh-sict.com/ncov-test-api
'
,
//
baseUrl: 'https://health.sh-sict.com/ncov-test-api',
// baseUrl: 'http://139.9.163.126/ncov-api',
// baseUrl: 'http://139.9.163.126/ncov-api',
header
:
{
header
:
{
'
content-type
'
:
'
application/json;charset=UTF-8
'
,
'
content-type
'
:
'
application/json;charset=UTF-8
'
,
...
...
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