<template>
  <div class="container">
    <!-- <WlStaffSelect v-model="popupVisible"/> -->
    <!-- <WlSearch /> -->
  </div>
</template>

<script>
// import WlLoading from '../../packages/components/Common/WlLoading'
export default {
  name: 'lxlTestPage',
  data() {
    return {
      percentage: 0,
    }
  },
  methods: {},
  mounted() {
    this.$loading({
      type: 'show',
      showLoading: true,
      content: '加载中...',
      percent: this.percentage,
      onCancel() {
        this.$loading({
          type: 'hide',
        })
        console.log('取消')
      },
    })

    // setInterval(() => {
    //   this.$loading(
    //     {
    //       type: 'changePercent',
    //       percent: this.percentage++,
    //     },
    //     1000
    //   )
    // })
  },
}
</script>

<style lang="scss" scope>
.container {
  background-color: #fff;
}
</style>
