<template>
<van-popup v-model="isShow" v-bind="popupOption">
<van-cascader
v-model="pickerOption.cascaderValue"
v-bind="pickerOption"
@close="handleCancel"
@finish="handleFinish"
@change="handleChange"
/>
</van-popup>
</template>
<script>
import {
set } from 'lodash'
export default {
inheritAttrs: false,
props: {
value: {
type: Boolean,
default: false
},
// 默认选中的值
defaultValue: {
type: [String, Number],</
van-cascader组件的封装
最新推荐文章于 2024-06-07 11:46:13 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)