1.分析 ant中的弹框是无法修改的; 原因在于弹框modal被挂载在最大掉的元素div外面,所以需要将挂载在某个html元素上, 在modal外面主动套一个div,修改其样式即可 2.解决 :getContainer="() => $refs.ref"