<template>
  <div>
    <div style="min-height:60px;max-height:180px;overflow:scroll" data-key="订单管理->预售转现货">
      <p v-html="externalOptions.massage" />
    </div>
    <div
      class="pop-btn"
      style="display:flex;justify-content: center;"
    >
      <Button
        type="fcdefault"
        style="margin-top:16px"
        @click="close"
      >
        确定
      </Button>
    </div>
  </div>
</template>
<script>
  export default {
    props: {
      externalOptions: {
        type: Object,
        default: ()=>{}
      },
    },
    data() {
      return {
        model1: true,
        MyStr: ''
      };
    },
    methods: {
      close() {
        // 成功关闭弹框
        this.externalOptions.refresh();// 手动刷新页面
        this.$emit('cancel');
      }
    }
    
  };
</script>
