mui icon indicating copy to clipboard operation
mui copied to clipboard

同一个button,在不同title时设置loading,然后reset,title始终被重置为第一次loading前的。

Open sunliangjie opened this issue 4 years ago • 0 comments
trafficstars

var count = 0; function login(){ var e = document.getElementById("btn1"); e.innerText = "测试"+count; mui(e).button('loading'); setTimeout(function() { mui(e).button('reset'); }, 2000); count++; }

代码如上,count每点击一次加一后,loading前button文字不同,但reset后,button文字一直是“测试0”。

sunliangjie avatar Jan 25 '21 08:01 sunliangjie