<template>
  <!--  测试界面——测试地址选择新增组件-->
  <div>
    <a-button @click="open">打开选择地址弹窗</a-button>
    <address-select :addressShow="showDialog"/>
  </div>
</template>

  <script>
  import AddressSelect from '@vue2-client/pages/addressSelect'

  export default {
    components: { AddressSelect },
    data: () => ({
      showDialog: false
    }),
    methods: {
      open () {
        console.log('打开选择地址弹窗')
        this.showDialog = true
      }
    }
  }
  </script>
