<template>
  <view class="uni-app">
    <view class="status-bar" />
    <view class="main-container">
      <wk-nav-bar title="待办" />
			
      <view class="list-view">
        <backlog-list v-if="showList" />
      </view>
    </view>
  </view>
</template>

<script>
  import BacklogList from './backlogList.vue'
	
  export default {
    name: 'BacklogIndex',
    components: {
      BacklogList
    },
    data() {
      return {
        showList: false
      }
    },
    onShow() {
      if (this.showList) {
        this.showList = false
        this.$nextTick(() => {
          this.showList = true
        })
      } else {
        this.showList = true
      }
    }
  }
</script>

<style scoped lang="scss">
	.list-view {
		flex: 1;
		overflow-y: hidden;
	}
</style>
