feat:完成颜色选择器和button组件
This commit is contained in:
@@ -37,5 +37,10 @@ Component({
|
||||
const { key, word } = this.data;
|
||||
this.triggerEvent('onDelete', { key, word });
|
||||
},
|
||||
|
||||
onColorTap() {
|
||||
const { color, key, word } = this.data;
|
||||
this.triggerEvent('onColorTap', { key, word, color });
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user