forked from github/dataease
Merge pull request #10074 from dataease/pr@dev-v2_st
fix(查询条件): 查询条件名称较长并同时设置为必填项时,必填项标记「*」被遮挡
This commit is contained in:
commit
7c1d7cc48e
@ -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,6 +573,7 @@ const autoStyle = computed(() => {
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
line-height: 22px;
|
||||
}
|
||||
|
||||
.required {
|
||||
font-size: 14px;
|
||||
@ -580,7 +581,6 @@ const autoStyle = computed(() => {
|
||||
margin-left: 3px;
|
||||
line-height: 22px;
|
||||
}
|
||||
}
|
||||
.label-wrapper-tooltip {
|
||||
align-items: center;
|
||||
background: #fff;
|
||||
|
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user