代码

 <template>
  <el-cascader
    v-model="select"
    :props="props"
    :placeholder="placeholder"
    :size="size"
    @change="handleChangeValue"
    ref="mCascader"
  ></el-cascader>
 </template>


....
<script>
 onOpen() {
    (this.$refs.mCascader as any).$el.click();
  }
</script>
Logo

前往低代码交流专区

更多推荐