perf: 修改 form help text,增加 warning

This commit is contained in:
ibuler
2024-05-23 14:58:31 +08:00
parent 8f229001aa
commit 061981688d
5 changed files with 6 additions and 5 deletions

View File

@@ -93,7 +93,7 @@
td .el-button.el-button--mini {
padding: 1px 6px;
line-height: 1;
line-height: 1.5;
.el-icon--right {
margin-bottom: 2px;

View File

@@ -49,7 +49,7 @@ export default {
data() {
return {
activityUrl: `/api/v1/audits/activities/?resource_id=${this.object.id}`,
title: `${this.$t('Activity')} - ${this.$t('Last30')}`,
title: `${this.$t('Last30')}`,
activities: [
{
content: this.$t('Now'),

View File

@@ -62,7 +62,7 @@
>
{{ opt.label }}
<el-tooltip v-if="opt.tip" :content="opt.tip" :open-delay="500" placement="top">
<i class="fa fa-question-circle-o" />
<i class="el-icon-warning-outline" />
</el-tooltip>
</el-checkbox>
<!-- WARNING: radio label 属性来表示 value 的含义 -->
@@ -75,7 +75,7 @@
>
{{ opt.label }}
<el-tooltip v-if="opt.tip" :content="opt.tip" :open-delay="500" placement="top">
<i class="fa fa-question-circle-o" />
<i class="el-icon-warning-outline" />
</el-tooltip>
</el-radio>
</template>

View File

@@ -7,6 +7,7 @@
<div class="nav-title">
<span :class="switchViewOtherClasses" class="switch-view active-switch-view">
<el-popover
:open-delay="200"
placement="right-start"
trigger="hover"
>

View File

@@ -163,7 +163,7 @@ export const assetFieldsMeta = (vm) => {
label: 'url'
},
comment: {
helpText: i18n.t('CommentHelpText')
placeholder: i18n.t('CommentHelpText')
}
}
}