@aiyiran/myclaw 1.0.191 → 1.0.192

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.
@@ -197,9 +197,12 @@
197
197
  closeBtn.onclick = function () { closeCmdModal(); };
198
198
  header.appendChild(closeBtn);
199
199
 
200
- // iframe
200
+ // 新标签页打开 /cmd
201
+ window.open(window.location.origin + "/cmd", "_blank");
202
+
203
+ // iframe 占位(保持弹框结构)
201
204
  var iframe = document.createElement("iframe");
202
- iframe.src = window.location.origin + "/cmd";
205
+ iframe.src = "about:blank";
203
206
  iframe.style.cssText = [
204
207
  "flex: 1",
205
208
  "width: 100%",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiyiran/myclaw",
3
- "version": "1.0.191",
3
+ "version": "1.0.192",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "bin": {