fix(Embedded Management): The floating window entry chart color is inconsistent

This commit is contained in:
dataeaseShu
2025-09-03 14:35:26 +08:00
parent e60eb5f356
commit d1448f6e7e
4 changed files with 14 additions and 9 deletions
+1 -1
View File
@@ -1195,7 +1195,7 @@ onMounted(() => {
font-size: 14px;
line-height: 24px;
color: #646a73;
max-width: 100%;
max-width: 88%;
word-break: break-all;
padding: 0 20px;
}
@@ -120,6 +120,7 @@ const pageLogo = computed(() => {
.ed-icon:not(.logo) {
cursor: pointer;
color: #1f2329;
&::after {
content: '';
@@ -162,6 +163,9 @@ const pageLogo = computed(() => {
font-size: 24px;
line-height: 32px;
margin: 16px 0;
max-width: 100%;
word-break: break-all;
padding: 0 20px;
}
.i-can {
@@ -172,6 +176,9 @@ const pageLogo = computed(() => {
font-size: 14px;
line-height: 24px;
color: #646a73;
max-width: 88%;
word-break: break-all;
padding: 0 20px;
}
}
.content {
+1
View File
@@ -239,6 +239,7 @@ onBeforeUnmount(() => {
.ed-icon:not(.logo) {
cursor: pointer;
color: #1F2329;
&::after {
content: '';
@@ -90,7 +90,7 @@ const dsListOptions = ref<any[]>([])
const embeddedListWithSearch = computed(() => {
if (!keywords.value) return embeddedList.value
return embeddedList.value.filter((ele) =>
return embeddedList.value.filter((ele: any) =>
ele.name.toLowerCase().includes(keywords.value.toLowerCase())
)
})
@@ -126,14 +126,11 @@ const handleAddEmbedded = (val: any) => {
const wsChanged = (val: any) => {
dsForm.public_list = []
dsForm.oid = val
getDsList(true)
getDsList()
}
const getDsList = (change: boolean = false) => {
const getDsList = () => {
dsApi(dsForm.oid).then((res: any) => {
dsListOptions.value = res || []
if (change || !currentEmbedded.id) {
dsForm.public_list = dsListOptions.value.map((ele: any) => ele.id)
}
})
}
const handleBaseEmbedded = (row: any) => {
@@ -142,7 +139,7 @@ const handleBaseEmbedded = (row: any) => {
if (row) {
Object.assign(dsForm, JSON.parse(row.configuration))
}
getDsList(false)
getDsList()
ruleConfigvVisible.value = true
dialogTitle.value = row?.id
? t('embedded.edit_basic_applications')
@@ -519,7 +516,7 @@ const saveHandler = () => {
type: 'success',
message: t('common.save_success'),
})
urlFormRef.value.validate('certificate')
certificateBeforeClose()
}
})