Commit 7c173670 authored by zhangyanni's avatar zhangyanni

滑块

parent 394da184
......@@ -170,9 +170,14 @@ var that = this,imgData="";
}
clean () {
this.canvasCtx.clearRect(0, 0, w, h)
this.blockCtx.clearRect(0, 0, w, h)
this.block.width = w
if(publicFunc.isWhichBrowe().ios||publicFunc.isWhichBrowe().webKit){
// location.reload();
}else{
this.canvasCtx.clearRect(0, 0, w, h)
this.blockCtx.clearRect(0, 0, w, h)
this.block.width = w
}
}
bindEvents () {
......
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