change
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
<script>
|
||||
import NavBar from '@/components/NavBar.vue'
|
||||
import SearchBox from '@/components/SearchBox.vue'
|
||||
import {getRegions, selectRegionInfo, inArea, outArea} from '@/utils/getData4.js'
|
||||
import {getChargeRegions, selectRegionInfo, inArea, outArea} from '@/utils/getData4.js'
|
||||
export default {
|
||||
components: {
|
||||
NavBar,
|
||||
@@ -80,12 +80,12 @@
|
||||
this.title = options.title
|
||||
},
|
||||
created () {
|
||||
this._getRegions1()
|
||||
this._getChargeRegions()
|
||||
},
|
||||
methods: {
|
||||
async _getRegions1 () {
|
||||
async _getChargeRegions () {
|
||||
try {
|
||||
let res = await getRegions()
|
||||
let res = await getChargeRegions()
|
||||
if (res) {
|
||||
this.options = res.data
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user