SwitchButton icon indicating copy to clipboard operation
SwitchButton copied to clipboard

请问能不能设置仅在一个状态下进行监听

Open Geeksongs opened this issue 6 years ago • 1 comments

每次点击按钮都会触发事件,不管是打开按钮还是关闭按钮,能不能有一种函数仅在打开按钮时生效。

Geeksongs avatar Apr 25 '19 01:04 Geeksongs

这个在回调的时候自己加个判断不就行了么?

KIDD-4869 avatar Jun 24 '21 03:06 KIDD-4869