fix:修改text图表样式
This commit is contained in:
@@ -38,7 +38,6 @@
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
padding: 3px 15px;
|
||||
margin-bottom: -1px;
|
||||
color: $--color-text-regular;
|
||||
border: 1px solid $--border-color-light;
|
||||
background: $--alert-rule-background-color;
|
||||
|
||||
@@ -107,6 +107,16 @@
|
||||
.v-md-editor-preview{
|
||||
padding: 0;
|
||||
}
|
||||
.text-content{
|
||||
.el-scrollbar__wrap{
|
||||
margin-right: 0 !important;
|
||||
margin-bottom: 0 !important;
|
||||
overflow: hidden !important;
|
||||
}
|
||||
.el-scrollbar__bar{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
.no-data{
|
||||
text-align: center;
|
||||
|
||||
@@ -146,11 +146,20 @@ export default {
|
||||
this.tableData = response.data.list
|
||||
const globalSearchId = this.$store.getters.getGlobalSearchId
|
||||
let detailViewRightObj = ''
|
||||
if (this.tableId === 'notebookTable' && this.detailType === 'view') { // 防止详情视图编辑后切换到别的数据
|
||||
const obj = this.tableData.find(item => item.id === this.detailViewRightObj.id)
|
||||
if (obj) {
|
||||
detailViewRightObj = obj
|
||||
} else {
|
||||
detailViewRightObj = this.tableData[0]
|
||||
}
|
||||
} else {
|
||||
if (globalSearchId) {
|
||||
detailViewRightObj = this.tableData.find(item => item.id === globalSearchId)
|
||||
} else {
|
||||
detailViewRightObj = this.tableData[0]
|
||||
}
|
||||
}
|
||||
this.detailViewRightObj = this.$lodash.cloneDeep(detailViewRightObj)
|
||||
this.pageObj.total = response.data.total
|
||||
this.pageObj.pages = response.data.pages
|
||||
|
||||
Reference in New Issue
Block a user