Showing
1 changed file
with
1 additions
and
2 deletions
| ... | @@ -171,13 +171,12 @@ const commentType = ref('comment'); // 类型 comment 为评论/类型 reply 为 | ... | @@ -171,13 +171,12 @@ const commentType = ref('comment'); // 类型 comment 为评论/类型 reply 为 |
| 171 | const commentId = ref('') | 171 | const commentId = ref('') |
| 172 | const replayUser = ref('') | 172 | const replayUser = ref('') |
| 173 | const setComment = (v, type) => { | 173 | const setComment = (v, type) => { |
| 174 | - if (validIdCard.can_use.value) { | 174 | + if (!validIdCard.can_use.value) { |
| 175 | showCommentBoxPopup.value = true; | 175 | showCommentBoxPopup.value = true; |
| 176 | commentType.value = type; | 176 | commentType.value = type; |
| 177 | replayUser.value = v.name; | 177 | replayUser.value = v.name; |
| 178 | commentId.value = v.id; | 178 | commentId.value = v.id; |
| 179 | } else { | 179 | } else { |
| 180 | - closeBtn(); | ||
| 181 | showNotice.value = true; | 180 | showNotice.value = true; |
| 182 | } | 181 | } |
| 183 | } | 182 | } | ... | ... |
-
Please register or login to post a comment