在Modal外层套div并设置div的ref='mod',Modal设置 :get-container="() => $refs.mod" 和 :bodyStyle="bodyStyle" ,样式就生效了,若还未生效,重启项目即可。