Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
Overview
Overview
Details
Activity
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
高淑倩
7-Eleven
Commits
b41c62be
Commit
b41c62be
authored
Sep 11, 2019
by
高淑倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
console
parent
79b42ed8
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
5 deletions
+0
-5
userCenter.js
src/pages/userCenter/userCenter.js
+0
-1
subPage.js
src/subPackage/page/pages/subPage/subPage.js
+0
-1
wxService.js
src/utils/wxService.js
+0
-3
No files found.
src/pages/userCenter/userCenter.js
View file @
b41c62be
...
@@ -36,7 +36,6 @@ wxService.page({
...
@@ -36,7 +36,6 @@ wxService.page({
* 生命周期函数--监听页面加载
* 生命周期函数--监听页面加载
*/
*/
onLoad
()
{
onLoad
()
{
console
.
log
(
'onlod'
,
this
.
options
)
this
.
setData
(
this
.
setData
(
{
{
pages
:
[],
pages
:
[],
...
...
src/subPackage/page/pages/subPage/subPage.js
View file @
b41c62be
...
@@ -36,7 +36,6 @@ wxService.page({
...
@@ -36,7 +36,6 @@ wxService.page({
* 生命周期函数--监听页面加载
* 生命周期函数--监听页面加载
*/
*/
onLoad
()
{
onLoad
()
{
console
.
log
(
'onlod'
,
this
.
options
)
this
.
setData
(
this
.
setData
(
{
{
pages
:
[],
pages
:
[],
...
...
src/utils/wxService.js
View file @
b41c62be
...
@@ -567,9 +567,7 @@ class WXService extends Http {
...
@@ -567,9 +567,7 @@ class WXService extends Http {
_self
.
initAppGlobalDataSync
()
_self
.
initAppGlobalDataSync
()
//修改参数
//修改参数
let
pageIsFromShare
=
false
,
tentacleId
=
null
;
let
pageIsFromShare
=
false
,
tentacleId
=
null
;
console
.
log
(
'args'
,
args
)
args
.
forEach
(
item
=>
{
args
.
forEach
(
item
=>
{
console
.
log
(
'item==='
,
item
)
if
(
item
[
't'
])
{
if
(
item
[
't'
])
{
pageIsFromShare
=
true
;
pageIsFromShare
=
true
;
tentacleId
=
Integer
.
digit
(
item
[
't'
],
64
,
10
);
tentacleId
=
Integer
.
digit
(
item
[
't'
],
64
,
10
);
...
@@ -587,7 +585,6 @@ class WXService extends Http {
...
@@ -587,7 +585,6 @@ class WXService extends Http {
config
.
onLoad
&&
config
.
onLoad
.
apply
(
page
,
args
);
config
.
onLoad
&&
config
.
onLoad
.
apply
(
page
,
args
);
},
},
onShow
:
function
(...
args
)
{
onShow
:
function
(...
args
)
{
console
.
log
(
'________'
,
args
)
const
page
=
this
const
page
=
this
_self
.
currentPage
=
page
_self
.
currentPage
=
page
config
.
onShow
&&
config
.
onShow
.
apply
(
page
,
args
)
config
.
onShow
&&
config
.
onShow
.
apply
(
page
,
args
)
...
...
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