<template>
    <el-cascader v-bind='$attrs' :options='options' :props='cascaderProps' />
</template>

<script lang='ts' setup>
import { defineComponent } from 'vue'

defineOptions({
    name: 'Area'
})
import { useDictData } from '@/stores/dictData'

const cascaderProps = {
    label: 'name',
    value: 'id',
    checkStrictly: true,
    emitPath: false
}
const dictData = useDictData()
const options = dictData.state.area

</script>

<style scoped>

</style>