更新
This commit is contained in:
@@ -4,7 +4,6 @@
|
|||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { regionData, codeToText } from 'element-china-area-data'
|
import { regionData, codeToText } from 'element-china-area-data'
|
||||||
import { onMounted } from 'vue';
|
|
||||||
const emit = defineEmits(['change'])
|
const emit = defineEmits(['change'])
|
||||||
|
|
||||||
const placeholder = ref('')
|
const placeholder = ref('')
|
||||||
@@ -31,7 +30,6 @@ function setValue(arr) {
|
|||||||
|
|
||||||
// 使用文字设置地区
|
// 使用文字设置地区
|
||||||
function textSetValue(arr) {
|
function textSetValue(arr) {
|
||||||
console.log(arr)
|
|
||||||
selectedOptions.value = TextToCode(arr)
|
selectedOptions.value = TextToCode(arr)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user