mirror of
https://github.com/dataease/dataease.git
synced 2025-02-23 19:12:55 +08:00
fix(查询组件): 修改边框颜色,文本搜索的边框颜色没生效
This commit is contained in:
parent
53b0a9a89d
commit
ebc546b045
@ -82,7 +82,7 @@ onBeforeMount(() => {
|
|||||||
setParams()
|
setParams()
|
||||||
})
|
})
|
||||||
const queryConditionWidth = inject('com-width', Function, true)
|
const queryConditionWidth = inject('com-width', Function, true)
|
||||||
const customStyle = inject<{ background: string }>('$custom-style-filter')
|
const customStyle = inject<{ background: string; border: string }>('$custom-style-filter')
|
||||||
const isConfirmSearch = inject('is-confirm-search', Function, true)
|
const isConfirmSearch = inject('is-confirm-search', Function, true)
|
||||||
|
|
||||||
const getCustomWidth = () => {
|
const getCustomWidth = () => {
|
||||||
@ -106,7 +106,7 @@ const handleValueChange = () => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
const lineWidth = computed(() => {
|
const lineWidth = computed(() => {
|
||||||
return { width: getCustomWidth() - 15 + 'px' }
|
return { width: getCustomWidth() - 15 + 'px', background: customStyle.border }
|
||||||
})
|
})
|
||||||
|
|
||||||
const handleKeyEnter = () => {
|
const handleKeyEnter = () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user