下拉框

This commit is contained in:
2025-08-12 16:35:53 +08:00
parent f523a450e7
commit e20be6e6aa
2 changed files with 8 additions and 8 deletions

View File

@@ -34,7 +34,7 @@
<script>
import NavBar from '@/components/NavBar.vue'
import SearchBox from '@/components/SearchBox.vue'
import {regionList, vehicleInConfirm} from '@/utils/getData4.js'
import {getSect, vehicleInConfirm} from '@/utils/getData4.js'
export default {
components: {
NavBar,
@@ -53,12 +53,12 @@
this.title = options.title
},
created () {
this._regionList()
this._getSect()
},
methods: {
async _regionList () {
async _getSect () {
try {
let res = await regionList()
let res = await getSect()
if (res) {
this.options = res.data
} else {

View File

@@ -34,7 +34,7 @@
<script>
import NavBar from '@/components/NavBar.vue'
import SearchBox from '@/components/SearchBox.vue'
import {regionList, iosOutvehicleOutConfirm} from '@/utils/getData4.js'
import {getSect, iosOutvehicleOutConfirm} from '@/utils/getData4.js'
export default {
components: {
NavBar,
@@ -53,12 +53,12 @@
this.title = options.title
},
created () {
this._regionList()
this._getSect()
},
methods: {
async _regionList () {
async _getSect () {
try {
let res = await regionList()
let res = await getSect()
if (res) {
this.options = res.data
} else {