A Quasar Framework app
npm install
quasar dev
npm run lint
npm run format
quasar build
npm install quasar-cascader-vue3 --save
import cascader from "quasar-cascader-vue3"
<cascader label="单位" :options="data" dense optlabel="name" optvalue="id" important @change="handleDeptIdChange" >
组件提供了一个clearcascader方法来主
handleDeptIdChange返回了选中的name和id// [name,id]