统一
This commit is contained in:
@@ -77,7 +77,7 @@
|
||||
<script>
|
||||
import NavBar from '@/components/NavBar.vue'
|
||||
import SearchBox from '@/components/SearchBox.vue'
|
||||
import {getRegions, selectMaterials, blanking} from '@/utils/getData4.js'
|
||||
import {getNextRegions, selectMaterials, blanking} from '@/utils/getData4.js'
|
||||
export default {
|
||||
components: {
|
||||
NavBar,
|
||||
@@ -114,12 +114,12 @@
|
||||
}
|
||||
},
|
||||
created () {
|
||||
this._getRegions1()
|
||||
this._getNextRegions()
|
||||
},
|
||||
methods: {
|
||||
async _getRegions1 () {
|
||||
async _getNextRegions () {
|
||||
try {
|
||||
let res = await getRegions()
|
||||
let res = await getNextRegions()
|
||||
if (res) {
|
||||
this.options = res.data
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user