This commit is contained in:
GGJ
2024-01-03 11:37:21 +08:00
parent 0a0304f913
commit a376714cd9
5 changed files with 63 additions and 26665 deletions

View File

@@ -3,7 +3,7 @@
</template>
<script lang="ts" setup>
import { defineComponent, ref } from 'vue'
import { defineComponent, ref, watch } from 'vue'
defineOptions({
name: 'Area'
@@ -27,8 +27,16 @@ const change = (e: any) => {
areaName.value = cascader.value.getCheckedNodes()[0].pathLabels[1]
}
}
// watch(
// () => $attrs,
// (newVal, oldVal) => {
// console.log(123)
defineExpose({ areaName })
// // GetEchar('中国')
// }
// )
defineExpose({ areaName, change })
</script>
<style scoped></style>