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