problem description
when I use window.open (url, "newwidnow", height, width, left, top.)
) in $nextTick
to open a new window with a fixed width and height and a fixed display position, the code executes to window.open
, but the new window does not appear and does not report an error.
you can open a new window without $nextTick
using window.open
externally.
and whether inside $nextTick
or outside $nextTick
, console.log (this)
or console.log (window.open (url, "newwidnow", height, width, left, top.))
) is the same.
my attempt
I tried to wrap window.open in setTimeout without success. The program can get to open, but it doesn"t work.