Bootstrap 模态框关闭的时候body每次自增内边距 添加一下样式 body { padding-right: 0px !important;}*.model-open{ overflow-y:scroll; padding-right: 0 !important;}