Showing
2 changed files
with
2 additions
and
2 deletions
| ... | @@ -97,7 +97,7 @@ const commentType = ref('comment'); // 类型 comment 为评论/类型 reply 为 | ... | @@ -97,7 +97,7 @@ const commentType = ref('comment'); // 类型 comment 为评论/类型 reply 为 |
| 97 | const commentId = ref('') | 97 | const commentId = ref('') |
| 98 | const replayUser = ref('') | 98 | const replayUser = ref('') |
| 99 | const setComment = (v, type) => { // | 99 | const setComment = (v, type) => { // |
| 100 | - if (!validIdCard.can_use) { | 100 | + if (validIdCard.can_use) { |
| 101 | showCommentBoxPopup.value = true; | 101 | showCommentBoxPopup.value = true; |
| 102 | commentType.value = type; | 102 | commentType.value = type; |
| 103 | replayUser.value = v.name; | 103 | replayUser.value = v.name; | ... | ... |
| ... | @@ -171,7 +171,7 @@ const commentType = ref('comment'); // 类型 comment 为评论/类型 reply 为 | ... | @@ -171,7 +171,7 @@ 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; | ... | ... |
-
Please register or login to post a comment