This commit is contained in:
weipengfei 2024-01-22 18:08:12 +08:00
parent fb39a007ad
commit db2e8fb6e5
1 changed files with 18 additions and 16 deletions

View File

@ -27,29 +27,30 @@ const options = [
value: '510502',
label: '江阳区',
},
{
value: '510503',
label: '纳溪区',
},
{
value: '510504',
label: '龙马潭区',
},
// {
// value: '510503',
// label: '',
// },
// {
// value: '510504',
// label: '',
// },
{
value: '510521',
label: '泸县',
},
{
value: '510522',
label: '合江县 ',
},
// {
// value: '510522',
// label: ' ',
// },
{
value: '510524',
label: '叙永县 ',
}, {
value: '510525',
label: '古蔺县 ',
},
// {
// value: '510525',
// label: ' ',
// },
]
//
const townOptions = []
@ -69,6 +70,7 @@ const changeArea = (e) => {
}
const changeTown = (e) => {
console.log(e)
townOptions.forEach(item => {
if (item.value == e) {
sendFn('choseTown', { name: item.label })