PI
}

function closeDialog() {
  const dialog = document.getElementById('myDialog');
  dialog.close();
}
</script>

<!-- 需禁用CEF原生控件 -->
<select size="5" style="margin-top:30px">
  <option>选项1</option>
  <option>选项2</option>
  <option>选项3</option>
</select>

<script>
// 通过window.open触发弹出层
function showPopup() {
  // 必须设置尺寸参数，CEF才会识别为弹窗
  window.open('', '_blank', 'width=300,height=200');
}
</script>
<button onclick="showPopup()">触发�