@aiyiran/myclaw 1.1.19 → 1.1.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -556,8 +556,9 @@
556
556
  openBtn.onmouseenter = function () { openBtn.style.background = 'rgba(255,255,255,0.18)'; };
557
557
  openBtn.onmouseleave = function () { openBtn.style.background = 'rgba(255,255,255,0.08)'; };
558
558
  openBtn.onclick = function () {
559
- window.open(previewUrl, '_blank');
560
- navigator.clipboard.writeText(previewUrl).then(function () {
559
+ var urlWithTs = previewUrl + '?t=' + Date.now();
560
+ window.open(urlWithTs, '_blank');
561
+ navigator.clipboard.writeText(urlWithTs).then(function () {
561
562
  openBtn.textContent = '\u2713 \u5DF2\u590D\u5236';
562
563
  setTimeout(function () { openBtn.textContent = '\u5728\u65B0\u9875\u9762\u6253\u5F00'; }, 1500);
563
564
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiyiran/myclaw",
3
- "version": "1.1.19",
3
+ "version": "1.1.20",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "bin": {