feat: 条件过滤组件公共功能

This commit is contained in:
fit2cloud-chenyw
2021-04-08 18:18:08 +08:00
parent 9b036083a3
commit 8f2c2fbc30
16 changed files with 203 additions and 41 deletions

View File

@@ -32,6 +32,7 @@
:style="getComponentStyle(item.style)"
:element="item"
:item="item"
@filter-value-change="filterValueChange"
/>
<component
@@ -290,6 +291,10 @@ export default {
const newHeight = (text.split('<br>').length - 1) * lineHeight * fontSize
return height > newHeight ? height : newHeight
},
filterValueChange(value) {
console.log('emit:' + value)
}
}
}