init
This commit is contained in:
23
src/iview/display/IDisplayFormTips.vue
Normal file
23
src/iview/display/IDisplayFormTips.vue
Normal file
@@ -0,0 +1,23 @@
|
||||
<template>
|
||||
<div v-if="field.tips" class="iview-form-tips">
|
||||
<div v-html="field.tips" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
const props = defineProps({
|
||||
field: {
|
||||
type: Object,
|
||||
required: true,
|
||||
},
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
.iview-form-tips {
|
||||
font-size: 12px;
|
||||
color: #999;
|
||||
text-align: left;
|
||||
padding: 4px 0;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user