Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-community-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
TaoHuang
2019-09-12 15:37:32 +0800
Commit
edae8b589c2cfcfc7c41303c691392cfe8e4aa61
1 parent
5333c943
fix follow
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
apps/pages/userpage/components/follow-topic-item.vue
apps/store/article/mutations.js
apps/pages/userpage/components/follow-topic-item.vue
View file @
edae8b5
...
...
@@ -9,7 +9,7 @@
</div>
<p v-if="+data.topicJoinNum" class="topic-desc">{{data.topicJoinNum}}人参与讨论</p>
</div>
<WidgetFollow class="option-btn" :topic-id="data.topicId" :follow="data.hasAttention
=== 'Y'
"></WidgetFollow>
<WidgetFollow class="option-btn" :topic-id="data.topicId" :follow="data.hasAttention"></WidgetFollow>
</div>
</template>
...
...
apps/store/article/mutations.js
View file @
edae8b5
...
...
@@ -286,7 +286,7 @@ export default {
if
(
thumb
)
{
data
.
allowAttention
=
0
;
}
else
{
data
.
hasAttention
=
data
.
isAttend
===
'Y'
;
data
.
hasAttention
=
data
.
isAttend
;
}
data
.
topicId
=
topicId
;
...
...
Please
register
or
login
to post a comment