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">
|
<el-tooltip effect="dark" :content="ele.name" placement="top">
|
||||||
{{ ele.name }}
|
{{ ele.name }}
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
<span v-if="ele.required" class="required">*</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
<span v-if="ele.required" class="required">*</span>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class="label-wrapper-tooltip"
|
class="label-wrapper-tooltip"
|
||||||
@ -573,13 +573,13 @@ const autoStyle = computed(() => {
|
|||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
|
}
|
||||||
|
|
||||||
.required {
|
.required {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
color: #f54a45;
|
color: #f54a45;
|
||||||
margin-left: 3px;
|
margin-left: 3px;
|
||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.label-wrapper-tooltip {
|
.label-wrapper-tooltip {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { useI18n } from '@/hooks/web/useI18n'
|
import { useI18n } from '@/hooks/web/useI18n'
|
||||||
import { computed, onMounted } from 'vue'
|
import { computed } from 'vue'
|
||||||
import { imgUrlTrans } from '@/utils/imgUtils'
|
import { imgUrlTrans } from '@/utils/imgUtils'
|
||||||
const { t } = useI18n()
|
const { t } = useI18n()
|
||||||
|
|
||||||
@ -56,11 +56,6 @@ const props = defineProps({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
onMounted(() => {
|
|
||||||
console.log('template', props.template)
|
|
||||||
console.log('createAuth', props.createAuth)
|
|
||||||
})
|
|
||||||
|
|
||||||
const classBackground = computed(() => {
|
const classBackground = computed(() => {
|
||||||
return {
|
return {
|
||||||
width: props.width + 'px',
|
width: props.width + 'px',
|
||||||
|
Loading…
Reference in New Issue
Block a user