mirror of
https://github.com/dataease/dataease.git
synced 2026-05-16 05:50:45 +08:00
Merge pull request #13765 from dataease/pr@dev-v2@fix_event-mobile
fix(数据大屏): 移动端事件触发条件修改
This commit is contained in:
@@ -11,6 +11,8 @@ import { useCache } from '@/hooks/web/useCache'
|
||||
import Board from '@/components/de-board/Board.vue'
|
||||
import { dvMainStoreWithOut } from '@/store/modules/data-visualization/dvMain'
|
||||
import { activeWatermarkCheckUser, removeActiveWatermark } from '@/components/watermark/watermark'
|
||||
import { isMobile } from '@/utils/utils'
|
||||
import { isDashboard } from '@/utils/canvasUtils'
|
||||
|
||||
const componentWrapperInnerRef = ref(null)
|
||||
const componentEditBarRef = ref(null)
|
||||
@@ -312,7 +314,8 @@ const eventEnable = computed(
|
||||
) ||
|
||||
['indicator', 'rich-text'].includes(config.value.innerType)) &&
|
||||
config.value.events &&
|
||||
config.value.events.checked
|
||||
config.value.events.checked &&
|
||||
(isDashboard() || (!isDashboard() && !isMobile()))
|
||||
)
|
||||
|
||||
const onWrapperClick = e => {
|
||||
|
||||
Reference in New Issue
Block a user