vue-menu-cascader
Advanced tools
Comparing version 1.2.1 to 1.2.2
{ | ||
"name": "vue-menu-cascader", | ||
"description": "a cascader with search and category based on el-cascader", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"author": "console.logman@gmail.com", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
@@ -66,15 +66,22 @@ # vue-menu-cascader | ||
<template> | ||
<vue-menu-cascader :options="cascaderOptions" v-model="value" | ||
:props="{ expandTrigger: 'hover' , multiple : true , emitPath: false}"> | ||
<template slot-scope="{ node, data }"> | ||
<span>{{data.label}}</span> | ||
</template> | ||
<template v-slot:reference> | ||
<el-button icon="el-icon-plus" class="item-container-btn" slot="reference">添加指标 | ||
</el-button> | ||
</template> | ||
<template v-slot:desc="{scope}"> | ||
<div>这里是右侧append的描述,{{scope.node}} {{scope.data}}</div> | ||
</template> | ||
</vue-menu-cascader> | ||
<vue-menu-cascader | ||
:options="cascaderOptions" | ||
v-model="value" | ||
:props="{ expandTrigger: 'hover', multiple: true, emitPath: false }" | ||
> | ||
<template slot-scope="{ node, data }"> | ||
<span>{{ data.label }}</span> | ||
</template> | ||
<template v-slot:reference> | ||
<el-button | ||
icon="el-icon-plus" | ||
class="item-container-btn" | ||
slot="reference" | ||
>添加指标 | ||
</el-button> | ||
</template> | ||
<template v-slot:desc="{ scope }"> | ||
<div style="width: 300px;height: 250px;box-shadow: 0 2px 12px 0 rgba(0,0,0,.1);">这里是右侧append的描述, {{ scope.data }}</div> | ||
</template> | ||
</vue-menu-cascader> | ||
</template> | ||
@@ -281,3 +288,3 @@ <script> | ||
**版本:1.2.1** | ||
**版本:1.2.2** | ||
@@ -284,0 +291,0 @@ Contributor: [@sharpFD](<https://github.com/sharpFD>) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
2623970
1478
299