mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-29 21:28:52 +00:00
perf: 修改 form help text,增加 warning
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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'),
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
>
|
||||
|
||||
@@ -163,7 +163,7 @@ export const assetFieldsMeta = (vm) => {
|
||||
label: 'url'
|
||||
},
|
||||
comment: {
|
||||
helpText: i18n.t('CommentHelpText')
|
||||
placeholder: i18n.t('CommentHelpText')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user