fix(数据大屏、仪表板): 修改部分批量设置属性失效问题,文案修改

This commit is contained in:
wangjiahao 2024-08-27 16:23:17 +08:00
parent ffcbe530da
commit 30d61b32fc
2 changed files with 8 additions and 4 deletions

View File

@ -9,7 +9,7 @@
@change="onPopButtonChange" @change="onPopButtonChange"
> >
<div style="display: flex; line-height: 14px"> <div style="display: flex; line-height: 14px">
显示弹窗区筛选按钮 <span style="margin-right: 4px">显示弹窗区筛选按钮</span>
<el-tooltip class="item" :effect="themes" placement="bottom"> <el-tooltip class="item" :effect="themes" placement="bottom">
<template #content> <template #content>
<div>预览时启用</div> <div>预览时启用</div>

View File

@ -16,7 +16,9 @@
:effect="themes" :effect="themes"
v-model="styleForm[styleOptionKey.value]" v-model="styleForm[styleOptionKey.value]"
size="small" size="small"
@change="changeStyle" @change="
changeStyle({ key: styleOptionKey.value, value: styleForm[styleOptionKey.value] })
"
> >
<template #prefix> <template #prefix>
<el-icon :class="{ 'dark-icon': themes === 'dark' }"> <el-icon :class="{ 'dark-icon': themes === 'dark' }">
@ -56,7 +58,9 @@
:triggerWidth="styleColorKey.width" :triggerWidth="styleColorKey.width"
is-custom is-custom
:predefine="state.predefineColors" :predefine="state.predefineColors"
@change="changeStyle" @change="
changeStyle({ key: styleColorKey.value, value: styleForm[styleColorKey.value] })
"
> >
</el-color-picker> </el-color-picker>
</el-form-item> </el-form-item>
@ -486,7 +490,7 @@ const checkItalic = () => {
function setPosition(key, p: 'left' | 'center' | 'right') { function setPosition(key, p: 'left' | 'center' | 'right') {
styleForm.value[key] = p styleForm.value[key] = p
changeStyle({ key: key, p }) changeStyle({ key: key, value: p })
} }
watch( watch(