<template>
  <div>
     <p>获取参数中，请保持网络畅通</p>
  </div>
</template>

<script>
import co from 'co'
import Vue from 'vue'
import LoadParams from '../plugins/LoadParams'

export default {
  title: '加载参数',
  props: {
    componentName: {
      type: String
    }
  },
  ready () {
    console.log('浏览器'+window.screen.width+'---'+window.screen.height)
    console.log('浏览器'+window.innerWidth+'---'+window.innerHeight)
    LoadParams.load().then(() => {
      this.$goto(this.componentName)
    })
  }
}
</script>
