Merge pull request #10074 from dataease/pr@dev-v2_st

fix(查询条件): 查询条件名称较长并同时设置为必填项时,必填项标记「*」被遮挡
This commit is contained in:
dataeaseShu 2024-06-04 15:20:02 +08:00 committed by GitHub
commit 7c1d7cc48e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 13 deletions

View File

@ -423,8 +423,8 @@ const autoStyle = computed(() => {
<el-tooltip effect="dark" :content="ele.name" placement="top">
{{ ele.name }}
</el-tooltip>
<span v-if="ele.required" class="required">*</span>
</div>
<span v-if="ele.required" class="required">*</span>
</div>
<div
class="label-wrapper-tooltip"
@ -573,13 +573,13 @@ const autoStyle = computed(() => {
font-style: normal;
font-weight: 400;
line-height: 22px;
}
.required {
font-size: 14px;
color: #f54a45;
margin-left: 3px;
line-height: 22px;
}
.required {
font-size: 14px;
color: #f54a45;
margin-left: 3px;
line-height: 22px;
}
.label-wrapper-tooltip {
align-items: center;

View File

@ -23,7 +23,7 @@
<script setup lang="ts">
import { useI18n } from '@/hooks/web/useI18n'
import { computed, onMounted } from 'vue'
import { computed } from 'vue'
import { imgUrlTrans } from '@/utils/imgUtils'
const { t } = useI18n()
@ -56,11 +56,6 @@ const props = defineProps({
}
})
onMounted(() => {
console.log('template', props.template)
console.log('createAuth', props.createAuth)
})
const classBackground = computed(() => {
return {
width: props.width + 'px',