Browse Source

只打开一个子窗口

zhouna 3 years ago
parent
commit
a375978f77
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/js/promise.js

+ 1 - 1
src/js/promise.js

@@ -154,7 +154,7 @@ const newinConf = {
   height: '600',  //窗口文档显示区的高度。以像素计。
   height: '600',  //窗口文档显示区的高度。以像素计。
   left: '0',  //窗口的 x 坐标。以像素计。
   left: '0',  //窗口的 x 坐标。以像素计。
   top: '0',    //窗口的 y 坐标。以像素计。
   top: '0',    //窗口的 y 坐标。以像素计。
-  openMode: "_blank"  //每次都是新窗口打开为_blank,打开同一窗口填写任意字符串
+  openMode: "old"  //每次都是新窗口打开为_blank,打开同一窗口填写任意字符串
 }
 }
 const newWindowLocationTcm = `width=800, height=600, left=${newinConf.left}, top=${newinConf.top},resizable=yes, scrollbars=yes`
 const newWindowLocationTcm = `width=800, height=600, left=${newinConf.left}, top=${newinConf.top},resizable=yes, scrollbars=yes`
 const newWindowLocation = `width=${newinConf.width}, height=${newinConf.height}, left=${newinConf.left}, top=${newinConf.top},resizable=yes, scrollbars=yes`
 const newWindowLocation = `width=${newinConf.width}, height=${newinConf.height}, left=${newinConf.left}, top=${newinConf.top},resizable=yes, scrollbars=yes`