feat:选择文字

This commit is contained in:
2025-06-30 17:14:03 +08:00
parent 23ad49d333
commit 654afced6f
10 changed files with 129 additions and 39 deletions
@@ -0,0 +1,8 @@
module.exports = {
isSelected: function (selectedWords, word) {
if (selectedWords && selectedWords.length > 0) {
return selectedWords.indexOf(word) !== -1;
}
return false;
},
};