加这个属性 :getPopupContainer="prpupContainer"

  <a-select
    :getPopupContainer="prpupContainer"
  >
  </a-select>

  methods: {
    prpupContainer () {
      return document.querySelector('#create-ticket') // ID是页面滚动的那个ID,根据自己来
    },
  }

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-27
  • 2022-12-23
  • 2021-09-30
  • 2022-12-23
  • 2022-12-23
  • 2021-11-27
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-24
  • 2021-11-17
  • 2021-06-05
  • 2022-12-23
相关资源
相似解决方案