Commit 0d7b0f29 authored by 邱旭's avatar 邱旭

1

parent de0febf5
...@@ -20,6 +20,10 @@ export default class IconBase{ ...@@ -20,6 +20,10 @@ export default class IconBase{
this.iconTipsBg = tipsBg; this.iconTipsBg = tipsBg;
this.iconTips = tipsLabel; this.iconTips = tipsLabel;
this._name = name; this._name = name;
this.start();
}
protected start(){
this.initEvents(); this.initEvents();
} }
......
...@@ -7,6 +7,11 @@ export default class ScratchIcon extends IconBase { ...@@ -7,6 +7,11 @@ export default class ScratchIcon extends IconBase {
super(name, group, btn, tipsBg, tipsLabel); super(name, group, btn, tipsBg, tipsLabel);
} }
protected start() {
super.start();
}
protected initEvents() { protected initEvents() {
super.initEvents(); super.initEvents();
} }
......
...@@ -7,6 +7,11 @@ export default class TurntableIcon extends IconBase { ...@@ -7,6 +7,11 @@ export default class TurntableIcon extends IconBase {
super(name, group, btn, tipsBg, tipsLabel); super(name, group, btn, tipsBg, tipsLabel);
} }
protected start() {
super.start();
}
protected initEvents() { protected initEvents() {
super.initEvents(); super.initEvents();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment