style: 去除样式调整
This commit is contained in:
@@ -179,7 +179,7 @@ export default {
|
||||
// this.$refs.table.toggleRowExpansion(row)
|
||||
// },
|
||||
currentChange (row, expandedRows) {
|
||||
if (this.expandRowKeys[0] && row.domain === this.expandRowKeys[0].domain) {
|
||||
if (this.expandRowKeys[0] && (row.domain === this.expandRowKeys[0])) {
|
||||
this.expandRowKeys = []
|
||||
} else {
|
||||
this.expandRowKeys = [row.domain]
|
||||
|
||||
@@ -188,16 +188,12 @@ const pieWithTable = {
|
||||
itemHeight: 10, // 设置高度
|
||||
itemGap: 20,
|
||||
selectedMode: false,
|
||||
formatter: tooLongFormatter
|
||||
// formatter: tooLongFormatter
|
||||
},
|
||||
series: [
|
||||
{
|
||||
type: 'pie',
|
||||
selectedMode: 'single',
|
||||
itemStyle: {
|
||||
borderRadius: 5,
|
||||
borderWidth: 1
|
||||
},
|
||||
radius: ['42%', '70%'],
|
||||
center: ['30%', '50%'],
|
||||
data: [],
|
||||
|
||||
@@ -424,6 +424,7 @@ export default {
|
||||
this.chartWithPieTableInit(chartParams)
|
||||
},
|
||||
chartWithPieTableInit (chartParams) {
|
||||
const self = this
|
||||
chartParams.valueColumn = this.orderPieTable
|
||||
const queryParams = { startTime: parseInt(this.startTime / 1000), endTime: parseInt(this.endTime / 1000), limit: 10, order: this.orderPieTable } // 统计数据的查询参数
|
||||
const tableQueryParams = { startTime: parseInt(this.startTime / 1000), endTime: this.endTime, limit: 10, order: this.orderPieTable } // 统计数据的查询参数
|
||||
|
||||
Reference in New Issue
Block a user