|
@@ -55,7 +55,9 @@
|
55
|
55
|
<span class="input-group-text">
|
56
|
56
|
<eva-icon name="home-outline" fill="#60CBEB"></eva-icon>
|
57
|
57
|
</span>
|
58
|
|
- <input class="form-control" type="text" name="province" v-model="address.province" />
|
|
58
|
+ <select class="form-control" name="region" id="region" v-model="address.province">
|
|
59
|
+ <option v-for="(region, r) in regions" :key="r">{{region.regionName}}</option>
|
|
60
|
+ </select>
|
59
|
61
|
</div>
|
60
|
62
|
</div>
|
61
|
63
|
<div class="col-md-6" style="margin-bottom: 1em">
|
|
@@ -73,10 +75,15 @@
|
73
|
75
|
</template>
|
74
|
76
|
|
75
|
77
|
<script>
|
|
78
|
+import { mapState } from 'vuex';
|
|
79
|
+
|
76
|
80
|
export default {
|
77
|
81
|
props: {
|
78
|
82
|
address: {},
|
79
|
83
|
},
|
|
84
|
+ computed: {
|
|
85
|
+ ...mapState('timeshare', ['regions']),
|
|
86
|
+ },
|
80
|
87
|
};
|
81
|
88
|
</script>
|
82
|
89
|
|