BUG修改

This commit is contained in:
a0049873 2022-07-05 14:37:22 +08:00
parent 20b968beba
commit 3ec46bdd0a
1 changed files with 17 additions and 11 deletions

View File

@ -80,26 +80,32 @@
<a-select
ref="select"
style="width: 1.4rem; height: 0.4rem"
v-for="item in fabubumen"
:key="item"
v-model="item.value"
placeholder="请选择省份"
@change="qushijiedao"
:key="fabubumen"
>
<a-select-option :value="item.name">
<a-select-option
:value="item.name"
v-model="item.value"
v-for="item in fabubumen"
:key="item"
>
{{ item.name }}
</a-select-option>
</a-select>
<a-select
ref="select"
style="width: 1.4rem; height: 0.4rem"
v-for="item in shi"
:key="item"
v-model:value="item.value"
@change="qushijiedao"
placeholder="请选择市"
:key="shi"
>
<a-select-option :value="item.name">
<a-select-option
:value="item.name"
v-model:value="item.value"
v-for="item in shi"
:key="item"
>
{{ item.name }}
</a-select-option>
</a-select>
@ -167,9 +173,9 @@
id: '100001',
},
])
let shi = ref(['请先选择省份'])
let qu = ref(['请先选择市'])
let jiedao = ref(['请先选择区'])
let shi = ref([])
let qu = ref([])
let jiedao = ref([])
function qushijiedao(value) {
let danwei = value.substr(-1)
// name.substr(-1)