mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-20 02:31:43 +00:00
perf: 修改 card
This commit is contained in:
@@ -84,11 +84,12 @@
|
|||||||
<el-alert
|
<el-alert
|
||||||
v-if="data.helpText.startsWith('!')"
|
v-if="data.helpText.startsWith('!')"
|
||||||
:closable="false"
|
:closable="false"
|
||||||
:title="data.helpText.replace(/^!/, '')"
|
|
||||||
class="help-warning"
|
class="help-warning"
|
||||||
show-icon
|
show-icon
|
||||||
type="info"
|
type="info"
|
||||||
/>
|
>
|
||||||
|
<span v-html="data.helpText.replace(/^!/, '')" />
|
||||||
|
</el-alert>
|
||||||
<span v-else v-html="data.helpText" />
|
<span v-else v-html="data.helpText" />
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -307,15 +308,10 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.help-block {
|
.help-block {
|
||||||
.help-warning {
|
::v-deep .el-alert__icon {
|
||||||
i {
|
font-size: 16px
|
||||||
font-size: 12px;
|
|
||||||
color: var(--color-link);
|
|
||||||
padding-right: 2px;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
.help-tip-icon {
|
.help-tip-icon {
|
||||||
&:hover {
|
&:hover {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
Reference in New Issue
Block a user