zhanghua
2022-10-31 feebf68645a0c91e07c7eadeb04ae970001f1fc1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<template>
  <div>
    <el-button @click="getRegion">获取地址三级联动</el-button>
  </div>
</template>
 
<script>
export default {
  data(){
    return{
 
    }
  },
  methods:{
    getRegion(){
      // this.$axios.get('sccg/sccg-region/getTree').then(res=>{
      //   console.log(res);
      // })
      this.$axios({
        method:'get',
        url:'sccg/sccg-region/getTree',
      })
      .then(res=>{
        console.log(res);
      })
    }
  }
}
</script>
 
<style lang="scss" scoped>
</style>