getCommentData
# 函数: getCommentData()
getCommentData():
undefined| {commentList:CommentListItem[]; }
获取当前图纸的所有评论数据。
# 返回
undefined | { commentList: CommentListItem[]; }
返回一个包含评论列表的对象
# 示例
const commentData = getCommentData();
if (commentData) {
console.log(commentData.commentList);
}