标签: php jquery
comp-2
答案 0 :(得分:1)
将window.open(res);替换为location.href = res;
window.open(res);
location.href = res;
window.open()将打开一个新窗口,而location.href将更新当前窗口。
window.open()
location.href