mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-28 11:24:25 +00:00
fix: Help message no display
This commit is contained in:
parent
6bcf8b1b15
commit
c0ff9a8502
@ -44,8 +44,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</IBox>
|
</IBox>
|
||||||
</div>
|
</div>
|
||||||
<el-alert v-if="helpMessage" type="success">
|
<el-alert v-if="iHelpMessage" type="success">
|
||||||
<span v-sanitize="helpMessage" class="announcement-main" />
|
<span v-sanitize="iHelpMessage" class="announcement-main" />
|
||||||
</el-alert>
|
</el-alert>
|
||||||
<slot />
|
<slot />
|
||||||
</PageContent>
|
</PageContent>
|
||||||
@ -119,6 +119,9 @@ export default {
|
|||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
return window.history.length <= 2
|
return window.history.length <= 2
|
||||||
|
},
|
||||||
|
iHelpMessage() {
|
||||||
|
return this.helpMessage || this.helpTip
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@ -153,8 +156,8 @@ export default {
|
|||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
|
|
||||||
.el-alert {
|
.el-alert {
|
||||||
margin-top: -5px;
|
margin: -5px 0 5px 0!important;
|
||||||
margin-bottom: 5px;
|
width: calc(100% - 10px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-content {
|
.page-content {
|
||||||
|
Loading…
Reference in New Issue
Block a user