const goComment = (e) => { const n = document.querySelector(".el-textarea__inner"); n.value = `> ${e}\n\n`; n.focus(); btf.snackbarShow("已为您引用该说说,不删除空格效果更佳"); }; // 如果是twikoo评论区,请自行替换goComment函数,注意,如果评论区开了懒加载可能导致无法找到元素。