diff --git a/src/views/mine/Archives.vue b/src/views/mine/Archives.vue index e84ca54..288e8d6 100644 --- a/src/views/mine/Archives.vue +++ b/src/views/mine/Archives.vue @@ -51,7 +51,6 @@ size="small" ref="select" show-search - @change="selguojia" :getPopupContainer=" (triggerNode) => triggerNode.parentNode " @@ -59,7 +58,7 @@ {{ item.name }} @@ -253,7 +252,7 @@
{{ lan.$t("shiqu") }}
{{ item.city }}{{ item.gmt }} @@ -831,6 +830,17 @@ export default defineComponent({ // uesrinfo.currency = currencylist.value[i].value; // } // } + for(const i in chiveslist.value[0]){ + if(chiveslist.value[0][i].name == uesrinfo.country){ + uesrinfo.countryValue = chiveslist.value[0][i].id + } + } + for(const i in zonelist.value){ + if((zonelist.value[i].city + zonelist.value[i].gmt) == uesrinfo.zoneStr){ + uesrinfo.zoneid = zonelist.value[i].zoneid + } + console.log(zonelist.value[i].city + zonelist.value[i].gmt, uesrinfo.zoneStr) + } if (reg.test(userinfo.value.email)) { putmember(uesrinfo); } else { @@ -894,10 +904,10 @@ export default defineComponent({ // picinfo.url=res.video.url formData.value.img = res.video.url; } - function selguojia(e: any){ - userinfo.value.countryValue = e; - console.log(e) - } + // function selguojia(e: any){ + // userinfo.value.countryValue = e; + // console.log(e) + // } return { modalNode, @@ -940,7 +950,6 @@ export default defineComponent({ showname, uploadspic, lan, - selguojia }; }, });