Socket
Book a DemoInstallSign in
Socket

el-multi-cascader

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

el-multi-cascader

> 基于element ui 1.x版本的多选级联组件

1.2.0
latest
Source
npmnpm
Version published
Weekly downloads
12
500%
Maintainers
1
Weekly downloads
 
Created
Source

el-multi-cascader

基于element ui 1.x版本的多选级联组件

安装

$ npm i el-multi-cascader --save

引入

import ElMultiCascader from 'el-multi-cascader';

Vue.use(ElMultiCascader);

使用

<template>
    <el-multi-cascader v-model="cascaderData" :options="testData" placeholder="请选择"></el-multi-cascader>
</template>
<script>
export default {
    data() {
      return {
          cascaderData: [],
          testData: [
             {
                 label: '互联网开发', 
                 value: '44',
                 children: [
                     { 
                         label: 'APP开发', 
                         value: '4401', 
                         children: [] 
                         
                     }
             },
             { 
                 label: '微信开发', 
                 value: '4402', 
                 children: [] 
                 
             }
          ]
      }
    }
}
</script>

FAQs

Package last updated on 20 Sep 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.