vxe-modal 窗口组件开启拖拽移动位置功能

官网:https://vxeui.com

<template>
  <div>
    <vxe-button content="点击弹出" @click="showPopup = true"></vxe-button>
    <vxe-modal v-model="showPopup" :width="600" :height="400">
      <div>鼠标点击头部,按住移动窗口</div>
    </vxe-modal>
  </div>
</template>

<script>
export default {
  data () {
    return {
      showPopup: false
    }
  }
}
</script>

https://gitee.com/x-extends/vxe-pc-ui

posted @ 2024-11-25 18:02  可不简单  阅读(63)  评论(0编辑  收藏  举报