<template>
  <div style="width: 600px">
    <div class="printError">
      <p v-html="externalOptions.massage" />
    </div>
    <div
      class="pop-btn"
      style="display:flex;justify-content: flex-end;"
    >
      <Button
        type="fcdefault"
        class="sav-btn"
        @click="close"
      >
        确定
      </Button>
    </div>
  </div>
</template>
<script>
  const { network, urlSearchParams, store } = R3;
  export default {
    props: {
      externalOptions: {
        type: Object,
        default: ()=>{}
      },
    },
    data() {
      return {
      };
    },
    methods: {
      close() {
        // 成功关闭弹框
        this.$emit('cancel');
      }
    }
    
  };
</script>
<style lang='less'>
  .printErrorItem {
    margin-bottom: 8px;
  }
</style>
<style lang='less' scoped>
.printError p {
  max-height: 300px;
  overflow-y: auto;
  line-height: 20px;
}
</style>
