<template>
  <div class="ht-base-notice-demo">
    <ht-base-button type="primary" @click="open(false)"
      >打开提醒</ht-base-button
    >
    <ht-base-button @click="open(true)">打开提醒(仅标题)</ht-base-button>
  </div>
</template>

<script>
export default {
  name: "HtBaseNoticeDemo",
  methods: {
    open(nodesc) {
      this.$HtBaseNotice.open({
        title: "这里是文本通知提醒的标题",
        desc: nodesc
          ? ""
          : "这里是通知内容描述，这里是通知内容描述，这里是通知内容描述。 ",
      });
    },
  },
};
</script>
<style>
.ht-base-notice-demo {
}
</style>

