Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
施宇
/
Warehouse
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
9fb21378
authored
May 13, 2020
by
施宇
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
111
parent
9c7d4efe
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
components/navC/navC.js
pages/upperShelf/upperShelf.js
components/navC/navC.js
View file @
9fb21378
...
...
@@ -21,7 +21,7 @@ Component({
* 组件的初始数据
*/
data
:
{
userInfo
:
wx
.
getStorageSync
(
'userInfo'
)
,
userInfo
:
null
,
storeInfo
:
null
,
drop1
:
false
,
drop2
:
false
,
...
...
@@ -44,6 +44,9 @@ Component({
},
attached
:
function
()
{
// 在组件实例进入页面节点树时执行
this
.
setData
({
userInfo
:
wx
.
getStorageSync
(
'userInfo'
)
})
this
.
judgePagePath
();
if
(
!
this
.
data
.
userInfo
){
this
.
getUserData
();
...
...
pages/upperShelf/upperShelf.js
View file @
9fb21378
...
...
@@ -265,7 +265,6 @@ Page({
})
return
;
}
else
{
// 109P0424J3013
me
.
setData
({
listArr
:[
info
],
receivingId
:
info
.
receiving_id
...
...
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