|
|
|
@ -168,7 +168,8 @@ export class BasicButton extends Single {
|
|
|
|
|
return bubble; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
const clk = async e => { |
|
|
|
|
const clk = async (...args) => { |
|
|
|
|
const [e] = args; |
|
|
|
|
ev(e); |
|
|
|
|
if (!this.isEnabled() || !this.isValid()) { |
|
|
|
|
return; |
|
|
|
@ -243,7 +244,7 @@ export class BasicButton extends Single {
|
|
|
|
|
|
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
onClick.apply(this, arguments); |
|
|
|
|
onClick.apply(this, args); |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
const triggerArr = (o.trigger || "").split(","); |
|
|
|
|