登录获取区号

This commit is contained in:
luyuan 2020-11-24 11:06:09 +08:00
parent 388a5df6b0
commit facbc1656a
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3
2 changed files with 7 additions and 5 deletions

View File

@ -1056,7 +1056,7 @@ export function getaddr() {
if(qh.data.ename == "China"){
r({hb: '人民币¥', qh});
}else {
r({hb: '美元$'})
r({hb: '美元$', qh})
}
}else{
if(qh.data.ename == "China"){
@ -1074,7 +1074,7 @@ export function getaddr() {
if(qh.data.ename == "China"){
r({hb: '人民币¥', qh});
}else {
r({hb: '美元$'})
r({hb: '美元$', qh})
}
}else{
if(qh.data.ename == "China"){
@ -1095,7 +1095,7 @@ export function getaddr() {
if(qh.data.ename == "China"){
r({hb: '人民币¥', qh});
}else {
r({hb: '美元$'})
r({hb: '美元$', qh})
}
}else{
if(qh.data.ename == "China"){

View File

@ -23,7 +23,7 @@
</a-select-option>
<a-select-option value="Jiangsu"> Jiangsu </a-select-option>
</a-select> -->
<a-select :default-value="mrqh.name + '+' + mrqh.code" size="small" option-label-prop="label" @change="getquhao" class="getcode" show-search >
<a-select v-model:value="hqqh" size="small" option-label-prop="label" @change="getquhao" class="getcode" show-search >
<a-select-option v-for="(i,j) in quhaolist" :key="j" :value="i.name + '+' + i.code" :label="'+' + i.code">
{{i.name}}+{{i.code}}
</a-select-option>
@ -147,6 +147,7 @@ export default defineComponent({
password: '123456'
})
const mrqh = computed(() => store.state.qh)
const hqqh = computed(() => { return mrqh.value.name + '+' + mrqh.value.code })
const quhaolist = ref<any>([
{
code: "86",
@ -284,7 +285,8 @@ export default defineComponent({
navto,
lan,
slogin,
mrqh
mrqh,
hqqh
};
},
});