<template>
  <Modal
    v-model="showPopup"
    @on-ok="ok"
    @on-cancel="cancel"
    width="360">
    <p slot="header" style="color:#2d8cf0;text-align:center">
        <Icon type="information-circled"></Icon>
        <span>恢复提醒</span>
    </p>
    <div style="text-align:center">
        <p>已检测到您上次编辑但未保存, 是否恢复？</p>
    </div>
  </Modal>
</template>
<script lang="ts" src="./index.ts"></script>