VUE Element-ui 局部loading

<el-dialog title="相关用户" :visible.sync="dialogVisible" width="30%">
      <span>展示内容</span>
</el-dialog>

//对应function内
const loading = this.$loading({
    target: '.el-dialog'
});

//关闭
loading.close()