We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d21871 commit 4ee6babCopy full SHA for 4ee6bab
src/components/TopicDetail/index.jsx
@@ -46,6 +46,10 @@ class TopicDetail extends Component {
46
accesstoken,
47
collectTopic
48
} = this.props
49
+ if (!accesstoken) {
50
+ alert('请先登录!')
51
+ return
52
+ }
53
if (topic.is_collect) return
54
55
collectTopic({
@@ -58,6 +62,11 @@ class TopicDetail extends Component {
58
62
59
63
likeComment
60
64
65
66
67
68
69
+
61
70
likeComment({
71
72
id
0 commit comments