...
|
...
|
@@ -34,6 +34,7 @@ export default { |
|
|
const uid = get(await this.$sdk.getUser(), 'uid', 0);
|
|
|
const commentId = this.$attrs['dest-id'];
|
|
|
const articleId = this.$attrs['article-id'];
|
|
|
const directComment = this.$attrs['direct-comment'] || ''; // 是否直接调用评论框,不弹出actionSheet
|
|
|
const commentType = this.$attrs.commentType;
|
|
|
|
|
|
let menu = [];
|
...
|
...
|
@@ -61,6 +62,9 @@ export default { |
|
|
];
|
|
|
}
|
|
|
|
|
|
if (directComment) {
|
|
|
return this.$refs.placeholder.openComentInput();
|
|
|
} else {
|
|
|
this.$createActionSheet({
|
|
|
data: menu,
|
|
|
zIndex: 200,
|
...
|
...
|
@@ -114,6 +118,9 @@ export default { |
|
|
}
|
|
|
}).show();
|
|
|
}
|
|
|
|
|
|
|
|
|
}
|
|
|
}
|
|
|
};
|
|
|
</script>
|
...
|
...
|
|