mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 13:32:18 +08:00
fix(仪表板): 仪表板查询图表提示异常
This commit is contained in:
committed by
xuwei-fit2cloud
parent
41c32bd663
commit
fd3f1c960e
@@ -146,8 +146,8 @@ watch(
|
||||
|
||||
const handleValueChange = () => {
|
||||
selectValue.value = Array.isArray(selectValue.value)
|
||||
? selectValue.value.map(ele => dayjs(ele).format('YYYY/MM/DD HH:mm:ss'))
|
||||
: dayjs(selectValue.value).format('YYYY/MM/DD HH:mm:ss')
|
||||
? selectValue.value.map(ele => ele && dayjs(ele).format('YYYY/MM/DD HH:mm:ss'))
|
||||
: selectValue.value && dayjs(selectValue.value).format('YYYY/MM/DD HH:mm:ss')
|
||||
const value = Array.isArray(selectValue.value) ? [...selectValue.value] : selectValue.value
|
||||
if (!props.isConfig) {
|
||||
config.value.selectValue = Array.isArray(selectValue.value)
|
||||
|
||||
Reference in New Issue
Block a user