Browse Source

[修改]重置删数据太多

master
chenjingyu 4 years ago
parent
commit
f41393131a
  1. 4
      src/assets/js/zhuanpan.js

4
src/assets/js/zhuanpan.js

@ -80,7 +80,7 @@ $(document).ready(function(){
drawRouletteWheel() drawRouletteWheel()
$("#clickButton").attr("src", "../../../assets/images/turnplate-pointer.png") $("#clickButton").attr("src", "../../../assets/images/turnplate-pointer.png")
for(var i=0;i<14;i++){ for(var i=0;i<14;i++){
localStorage.removeItem(i) //localStorage.removeItem(i)
localStorage.removeItem(choujiang[i]+"copy") localStorage.removeItem(choujiang[i]+"copy")
localStorage.removeItem(choujiang[i]+"seatnumbercopy") localStorage.removeItem(choujiang[i]+"seatnumbercopy")
} }
@ -99,7 +99,7 @@ $(document).ready(function(){
drawRouletteWheel() drawRouletteWheel()
$("#clickButton").attr("src", "../../../assets/images/turnplate-pointer.png") $("#clickButton").attr("src", "../../../assets/images/turnplate-pointer.png")
for(var i=0;i<14;i++){ for(var i=0;i<14;i++){
localStorage.removeItem(i) //localStorage.removeItem(i)
localStorage.removeItem(choujiang[i]+"copy") localStorage.removeItem(choujiang[i]+"copy")
localStorage.removeItem(choujiang[i]+"seatnumbercopy") localStorage.removeItem(choujiang[i]+"seatnumbercopy")
} }

Loading…
Cancel
Save