1.htm
<input type=button οnclick="showModalDialog('2.htm','','dialogWidth=20,dialogHeight=20')">
2.htm
<body οnlοad="Init()">
<script>
function Init()
{
window.dialogWidth="10";
window.dialogHeight="10";
}
</script>
1.htm
<input type=button οnclick="showModalDialog('2.htm','','dialogWidth=20,dialogHeight=20')">
2.htm
<body οnlοad="Init()">
<script>
function Init()
{
window.dialogWidth="10";
window.dialogHeight="10";
}
</script>
一.Vue文件內容 <template> </template> <script> </script> <style> </style>