feat: 完成文字涂色卡功能

This commit is contained in:
2025-07-01 11:27:50 +08:00
parent 654afced6f
commit 6d38a17652
21 changed files with 267 additions and 103 deletions
@@ -27,7 +27,6 @@ Component({
},
lifetimes: {
ready() {
console.log('selectedWords', this.data.selectedWords);
},
},
/**
@@ -38,6 +37,12 @@ Component({
this.triggerEvent('onClose');
},
onClear() {
this.setData({
selectedWords: [],
});
},
onChange() {
this.triggerEvent('onChange', { selectedWords: this.data.selectedWords });
},