<template>
  <div id="app">
    <!-- <cityPicker @cityChecked="cityChecked" :currentCity='qingdao' :reLocateCallback='callback'></cityPicker> -->
  </div>
</template>

<script>
/**
 * currentCity:当前城市
 * reLocateCallback:重新定位回调
 *
 * */
import cityPicker from './components/cityPicker'

export default {
  name: 'App',
  components: {
    cityPicker
  },
  data () {
    return {
      qingdao: {
        city: '青岛市'
      }
    }
  },
  methods: {
    cityChecked (val) {
      console.log(val)
    },
    callback () {
      alert('vic')
    }
  }
}
</script>
<style >
  #app{
    font-size: 14px;
  }
</style>
