mirror of
https://github.com/dataease/dataease.git
synced 2026-05-14 12:22:10 +08:00
fix(数据大屏): 气泡弹窗颜色不正确
This commit is contained in:
@@ -329,7 +329,7 @@ const fontFamily = CHART_FONT_FAMILY_ORIGIN.concat(
|
||||
)
|
||||
|
||||
const toolTip = computed(() => {
|
||||
return props.themes === 'dark' ? 'light' : 'dark'
|
||||
return props.themes || 'dark'
|
||||
})
|
||||
|
||||
const resourceType = computed(() =>
|
||||
|
||||
@@ -58,7 +58,7 @@ const props = defineProps({
|
||||
const { frameLinks } = toRefs(props)
|
||||
|
||||
const toolTip = computed(() => {
|
||||
return props.themes === 'dark' ? 'light' : 'dark'
|
||||
return props.themes || 'dark'
|
||||
})
|
||||
|
||||
const state = reactive({
|
||||
|
||||
@@ -41,7 +41,7 @@ const props = defineProps({
|
||||
})
|
||||
const { chart, commonBackgroundPop, element } = toRefs(props)
|
||||
const toolTip = computed(() => {
|
||||
return props.themes === 'dark' ? 'light' : 'dark'
|
||||
return props.themes || 'dark'
|
||||
})
|
||||
const predefineColors = COLOR_PANEL
|
||||
const fontSizeList = []
|
||||
|
||||
@@ -32,7 +32,7 @@ const props = withDefaults(
|
||||
const predefineColors = COLOR_PANEL
|
||||
const typeList = formatterType
|
||||
const toolTip = computed(() => {
|
||||
return props.themes === 'dark' ? 'light' : 'dark'
|
||||
return props.themes || 'dark'
|
||||
})
|
||||
const state = reactive({
|
||||
axisForm: JSON.parse(JSON.stringify(DEFAULT_YAXIS_STYLE))
|
||||
|
||||
@@ -42,7 +42,7 @@ const state = reactive({
|
||||
}
|
||||
})
|
||||
const toolTip = computed(() => {
|
||||
return props.themes === 'dark' ? 'light' : 'dark'
|
||||
return props.themes || 'dark'
|
||||
})
|
||||
const emit = defineEmits(['onChangeFlowMapPointForm'])
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ const props = defineProps({
|
||||
|
||||
const emit = defineEmits(['onIndicatorNameChange'])
|
||||
const toolTip = computed(() => {
|
||||
return props.themes === 'dark' ? 'light' : 'dark'
|
||||
return props.themes || 'dark'
|
||||
})
|
||||
const predefineColors = COLOR_PANEL
|
||||
const fontFamily = CHART_FONT_FAMILY_ORIGIN.concat(
|
||||
|
||||
@@ -41,7 +41,7 @@ const props = defineProps({
|
||||
|
||||
const emit = defineEmits(['onIndicatorChange', 'onBasicStyleChange'])
|
||||
const toolTip = computed(() => {
|
||||
return props.themes === 'dark' ? 'light' : 'dark'
|
||||
return props.themes || 'dark'
|
||||
})
|
||||
const predefineColors = COLOR_PANEL
|
||||
const fontFamily = CHART_FONT_FAMILY_ORIGIN.concat(
|
||||
|
||||
@@ -48,7 +48,7 @@ const props = defineProps({
|
||||
})
|
||||
const dvMainStore = dvMainStoreWithOut()
|
||||
const toolTip = computed(() => {
|
||||
return props.themes === 'dark' ? 'light' : 'dark'
|
||||
return props.themes || 'dark'
|
||||
})
|
||||
const { batchOptStatus } = storeToRefs(dvMainStore)
|
||||
watch(
|
||||
|
||||
@@ -37,7 +37,7 @@ useEmitt({
|
||||
})
|
||||
const emit = defineEmits(['onLegendChange', 'onMiscChange'])
|
||||
const toolTip = computed(() => {
|
||||
return props.themes === 'dark' ? 'light' : 'dark'
|
||||
return props.themes || 'dark'
|
||||
})
|
||||
watch(
|
||||
() => props.chart.customStyle,
|
||||
|
||||
@@ -16,7 +16,7 @@ const props = withDefaults(
|
||||
)
|
||||
|
||||
const toolTip = computed(() => {
|
||||
return props.themes === 'dark' ? 'light' : 'dark'
|
||||
return props.themes || 'dark'
|
||||
})
|
||||
|
||||
const predefineColors = COLOR_PANEL
|
||||
|
||||
@@ -50,7 +50,7 @@ const state = reactive({
|
||||
}
|
||||
})
|
||||
const toolTip = computed(() => {
|
||||
return props.themes === 'dark' ? 'light' : 'dark'
|
||||
return props.themes || 'dark'
|
||||
})
|
||||
const emit = defineEmits(['onChangeQuadrantForm'])
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ const props = defineProps({
|
||||
const appearanceStore = useAppearanceStoreWithOut()
|
||||
const emit = defineEmits(['onTextChange'])
|
||||
const toolTip = computed(() => {
|
||||
return props.themes === 'dark' ? 'light' : 'dark'
|
||||
return props.themes || 'dark'
|
||||
})
|
||||
const predefineColors = COLOR_PANEL
|
||||
const fontFamily = CHART_FONT_FAMILY.concat(
|
||||
|
||||
@@ -46,7 +46,7 @@ const dvMainStore = dvMainStoreWithOut()
|
||||
const { batchOptStatus, mobileInPc } = storeToRefs(dvMainStore)
|
||||
const predefineColors = COLOR_PANEL
|
||||
const toolTip = computed(() => {
|
||||
return props.themes === 'dark' ? 'light' : 'dark'
|
||||
return props.themes || 'dark'
|
||||
})
|
||||
const emit = defineEmits(['onTooltipChange', 'onExtTooltipChange'])
|
||||
const curSeriesFormatter = ref<DeepPartial<SeriesFormatter>>({})
|
||||
|
||||
@@ -35,7 +35,7 @@ const state = reactive({
|
||||
axisForm: JSON.parse(JSON.stringify(DEFAULT_XAXIS_STYLE))
|
||||
})
|
||||
const toolTip = computed(() => {
|
||||
return props.themes === 'dark' ? 'light' : 'dark'
|
||||
return props.themes || 'dark'
|
||||
})
|
||||
const emit = defineEmits(['onChangeXAxisForm'])
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ const props = defineProps({
|
||||
const predefineColors = COLOR_PANEL
|
||||
const typeList = formatterType
|
||||
const toolTip = computed(() => {
|
||||
return props.themes === 'dark' ? 'light' : 'dark'
|
||||
return props.themes || 'dark'
|
||||
})
|
||||
const state = reactive({
|
||||
axisForm: JSON.parse(JSON.stringify(DEFAULT_YAXIS_STYLE))
|
||||
|
||||
@@ -983,7 +983,7 @@ function onTitleChange() {
|
||||
}
|
||||
|
||||
const toolTip = computed(() => {
|
||||
return props.themes === 'dark' ? 'light' : 'dark'
|
||||
return props.themes || 'dark'
|
||||
})
|
||||
|
||||
const marginBottom = computed<string | 0>(() => {
|
||||
|
||||
Reference in New Issue
Block a user