浏览代码

设置可重置为true

zhangxc 5 年之前
父节点
当前提交
78031d3d9f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/js/promise.js

+ 1 - 1
src/js/promise.js

@@ -99,7 +99,7 @@ const newinConf = {
   openMode: "_blank"  //每次都是新窗口打开为_blank,打开同一窗口填写任意字符串
 }
 
-const newWindowLocation = `width=${newinConf.width}, height=${newinConf.height}, left=${newinConf.left}, top=${newinConf.top} scrollbars=yes`
+const newWindowLocation = `width=${newinConf.width}, height=${newinConf.height}, left=${newinConf.left}, top=${newinConf.top}, scrollbars=yes, resizable=yes, status=yes`
 const openNewWin = function (url) {
   window.open(url, newinConf.openMode, newWindowLocation)
 }