Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
viitto
mallapp
Commits
e0ec6863
Commit
e0ec6863
authored
Mar 15, 2022
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2
parent
ca959ddc
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
App.vue
App.vue
+5
-3
index.vue
components/auth/index.vue
+4
-0
No files found.
App.vue
View file @
e0ec6863
...
@@ -7,12 +7,14 @@ export default {
...
@@ -7,12 +7,14 @@ export default {
};
};
},
},
onLaunch
:
function
()
{
onLaunch
:
function
()
{
//console.log('App Launch')
this
.
init
();
this
.
init
();
this
.
formatPlat
();
this
.
formatPlat
();
},
},
onShow
:
function
()
{
onShow
:
function
(
options
)
{
//console.log('App Show')
console
.
log
(
'App Show'
,
options
.
referrerInfo
.
extraData
)
if
(
options
.
referrerInfo
.
extraData
){
uni
.
setStorageSync
(
"jxhData"
,
options
.
referrerInfo
.
extraData
)
}
},
},
onHide
:
function
()
{
onHide
:
function
()
{
//console.log('App Hide')
//console.log('App Hide')
...
...
components/auth/index.vue
View file @
e0ec6863
...
@@ -198,6 +198,9 @@ export default {
...
@@ -198,6 +198,9 @@ export default {
let
EduSchoolId
=
uni
.
getStorageSync
(
"EduSchoolId"
)
let
EduSchoolId
=
uni
.
getStorageSync
(
"EduSchoolId"
)
?
uni
.
getStorageSync
(
"EduSchoolId"
).
EduSchoolId
?
uni
.
getStorageSync
(
"EduSchoolId"
).
EduSchoolId
:
0
;
:
0
;
let
EduId
=
uni
.
getStorageSync
(
"jxhData"
)
?
uni
.
getStorageSync
(
"jxhData"
).
Id
:
0
;
that
.
request2
(
that
.
request2
(
{
{
url
:
"/api/AppletLogin/Login"
,
url
:
"/api/AppletLogin/Login"
,
...
@@ -214,6 +217,7 @@ export default {
...
@@ -214,6 +217,7 @@ export default {
CounponPassword
:
CounponPassword
,
CounponPassword
:
CounponPassword
,
KeyWord
:
KeyWord
,
KeyWord
:
KeyWord
,
EduSchoolId
:
EduSchoolId
,
EduSchoolId
:
EduSchoolId
,
EduId
:
EduId
},
},
},
},
(
res
)
=>
{
(
res
)
=>
{
...
...
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