下拉框
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user