You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
705 B
31 lines
705 B
<template> |
|
<el-form-item> |
|
<template #label> |
|
<div class="flex v-center gap-4"> |
|
<el-tooltip |
|
effect="dark" |
|
:content="content" |
|
raw-content |
|
placement="top" |
|
> |
|
<icon name="local-icon-question" :size="18" /> |
|
</el-tooltip> |
|
<span>{{ label }}</span> |
|
</div> |
|
</template> |
|
<slot></slot> |
|
</el-form-item> |
|
</template> |
|
<script setup> |
|
defineProps({ |
|
label: { |
|
type: String, |
|
default: "", |
|
}, |
|
content: { |
|
type: String, |
|
}, |
|
}); |
|
</script> |
|
<style lang="scss" scoped> |
|
</style> |