mirror of
https://github.com/dataease/dataease.git
synced 2026-05-23 22:08:34 +08:00
feat: 条件过滤组件公共功能
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user