From surenkid, 9 Months ago, written in JavaScript.
Embed
  1. /* 初始化数组到localStorage
  2. var orderids = ['1811051225403457','1811051228586250','1811051225403457','1811051228586250'];
  3. localStorage.setItem("orderids", JSON.stringify(orderids));
  4. */
  5.  
  6. //每次取一个执行,剩余的存入localStorage
  7. var orderids = JSON.parse(localStorage.getItem("orderids"));
  8. var orderid = orderids.shift();
  9. localStorage.setItem("orderids", JSON.stringify(orderids));
  10.  
  11. //开始操作
  12.