<template>
  <div>
    <el-button type="primary" @click="openNewWin">Open New Window</el-button>
  </div>
</template>

<script setup lang="ts">
const openNewWin = function () {
  window.open(
    'http://localhost/chart',
    '单独窗口',
    'height=700,width=1200,top=100,left=200'
  )
}
</script>

<style lang="scss" scoped></style>
