This commit is contained in:
2025-09-17 13:18:40 +08:00
parent 31bfde4fbb
commit 0a8a7b1f17
6 changed files with 74 additions and 41 deletions

View File

@@ -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 {