fix geoip
This commit is contained in:
@@ -354,7 +354,7 @@ const submit = () => {
|
||||
|
||||
watch(ccodes, (codes) => {
|
||||
console.log('NNN=',codes);
|
||||
form.country = codes.map((c) => { if (c.code == geoip.iso_code) return c; });
|
||||
codes.forEach((c) => { if (c.code == geoip.value.iso_code) form.country = c; });
|
||||
})
|
||||
</script>
|
||||
<template>
|
||||
|
||||
Reference in New Issue
Block a user