设置 modal-append-to-body=true

 <el-drawer
        title="数据变更记录"
        :modal-append-to-body="false"
        :size="config.popup.size"
        :visible.sync="config.popup.show"
        :direction="config.popup.direction"
        :custom-class="`form-content-drawer ${config.popup.customClass}`"
      >
        <el-scrollbar class="form-popup__scrollbar">


        </el-scrollbar>
      </el-drawer>

<el-dialog
        v-dialog-drag
        :close-on-click-modal="false"
        :title="config.dialogForm.title"
        :visible.sync="config.dialogForm.show"
        :width="config.dialogForm.width"
        :modal-append-to-body="false"
        @close="
          () => {
            if ($refs.refDialogForm) {
              $refs.refDialogForm.childClosed();
            }
          }
        "
        center
      >
      </el-dialog>
文档更新时间: 2021-07-30 08:00   作者:admin