更改弹出方式
This commit is contained in:
parent
8897906188
commit
f8a93ae54f
|
|
@ -40,10 +40,13 @@ function openLargeScreen(name: any) {
|
||||||
// 2. 拼接完整的项目域名(避免相对路径问题)
|
// 2. 拼接完整的项目域名(避免相对路径问题)
|
||||||
const fullUrl = window.location.origin + screenPath;
|
const fullUrl = window.location.origin + screenPath;
|
||||||
// 3. 打开新标签页并访问
|
// 3. 打开新标签页并访问
|
||||||
|
// window.open(
|
||||||
|
// fullUrl,
|
||||||
|
// '_blank',
|
||||||
|
// 'width=1920,height=1080,top=100,left=100,toolbar=no,menubar=no,location=no,status=no',
|
||||||
|
// );
|
||||||
window.open(
|
window.open(
|
||||||
fullUrl,
|
fullUrl,
|
||||||
'_blank',
|
|
||||||
'width=1920,height=1080,top=100,left=100,toolbar=no,menubar=no,location=no,status=no',
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user