Fixed some issues in Palette Button (#595)
Fixed some issues in Palette Button (#595)

* make switch component works in fastclick, fixed #552

* rounded position number to two decimals since some browser can not resolve long decimals

galenyuan/mint-ui,Leopoldthecoder/kebab-ui,galenyuan/mint-ui,ElemeFE/mint-ui,wisedu/bh-mint-ui2,wisedu/bh-mint-ui2,Leopoldthecoder/kebab-ui,ElemeFE/mint-ui