fix:修改text图表样式
This commit is contained in:
@@ -38,7 +38,6 @@
|
|||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
padding: 3px 15px;
|
padding: 3px 15px;
|
||||||
margin-bottom: -1px;
|
|
||||||
color: $--color-text-regular;
|
color: $--color-text-regular;
|
||||||
border: 1px solid $--border-color-light;
|
border: 1px solid $--border-color-light;
|
||||||
background: $--alert-rule-background-color;
|
background: $--alert-rule-background-color;
|
||||||
|
|||||||
@@ -107,6 +107,16 @@
|
|||||||
.v-md-editor-preview{
|
.v-md-editor-preview{
|
||||||
padding: 0;
|
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{
|
.no-data{
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|||||||
@@ -146,11 +146,20 @@ export default {
|
|||||||
this.tableData = response.data.list
|
this.tableData = response.data.list
|
||||||
const globalSearchId = this.$store.getters.getGlobalSearchId
|
const globalSearchId = this.$store.getters.getGlobalSearchId
|
||||||
let detailViewRightObj = ''
|
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) {
|
if (globalSearchId) {
|
||||||
detailViewRightObj = this.tableData.find(item => item.id === globalSearchId)
|
detailViewRightObj = this.tableData.find(item => item.id === globalSearchId)
|
||||||
} else {
|
} else {
|
||||||
detailViewRightObj = this.tableData[0]
|
detailViewRightObj = this.tableData[0]
|
||||||
}
|
}
|
||||||
|
}
|
||||||
this.detailViewRightObj = this.$lodash.cloneDeep(detailViewRightObj)
|
this.detailViewRightObj = this.$lodash.cloneDeep(detailViewRightObj)
|
||||||
this.pageObj.total = response.data.total
|
this.pageObj.total = response.data.total
|
||||||
this.pageObj.pages = response.data.pages
|
this.pageObj.pages = response.data.pages
|
||||||
|
|||||||
Reference in New Issue
Block a user