Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
wechatapp.shangjiadao.com
Project
Project
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
wangxuelai
wechatapp.shangjiadao.com
Commits
ce2c5c29
Commit
ce2c5c29
authored
Oct 28, 2019
by
lvtz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix userShow
parent
78fb044f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
index.js
src/pages/readthemeindex/index.js
+4
-8
No files found.
src/pages/readthemeindex/index.js
View file @
ce2c5c29
...
...
@@ -11,7 +11,6 @@ import {
newCommentIndex
}
from
'../../../service/customer/circleindex.js'
;
import
{
userShow
,
themeDetail
,
getclockread
,
putclockread
...
...
@@ -45,7 +44,9 @@ import {
screenshot
}
from
'../../../utilities/screenshot.js'
;
import
regexp
from
'../../../constants/regexp.js'
;
import
{
studentidentity
}
from
'../../../service/customer/signup.js'
var
app
=
getApp
();
Page
({
data
:
{
...
...
@@ -169,7 +170,6 @@ Page({
})
}
wx
.
hideShareMenu
()
},
onReady
:
function
()
{
// Do something when page ready.
// this.doAnimation();
...
...
@@ -245,13 +245,9 @@ Page({
onReachBottom
:
function
()
{
// Do something when page reach bottom.
// this.clockListGet('up');
},
onShareAppMessage
:
function
(
option
)
{
// return custom share data when user share.
},
userShow
()
{
const
visitor
=
LocalStorage
.
getItem
(
'visitor'
);
userShow
({
studentidentity
({
class_id
:
this
.
data
.
id
,
consumer_id
:
visitor
&&
visitor
.
id
}).
then
((
res
)
=>
{
wx
.
hideLoading
();
const
{
...
...
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