<template>
  <div>
    <hive-loading text="加载中..." :loading="loading">
      <hive-alert type="disabled" message="当前网络不可用" description="这是一条辅助性文字" />
      <hive-alert type="error" message="导入失败，请重新导入" description="这是一条辅助性文字" />
    </hive-loading>
  </div>
</template>
<script>
  export default {
    data() {
      return {
        loading: true,
      };
    },
    mounted() {
      this.changeLoad();
    },
    methods: {
      changeLoad() {
        let that = this;
        setTimeout(function() {
          that.changeLoad();
          that.loading = !that.loading;
        }, 3000);
      },
    },
  };
</script>
