修改测试用例

This commit is contained in:
guanj
2025-07-29 08:33:04 +08:00
parent d53b9df52f
commit 24c590478e
26 changed files with 880 additions and 235 deletions

View File

@@ -134,15 +134,29 @@ export default {
},
methods: {
backbxlb() {
this.waveDatas = []
if(this.myChartess){this.myChartess.dispose(); this.myChartess=null; }
if(this.myChartess1){this.myChartess1.dispose(); this.myChartess1=null; }
if(this.myChartess2){this.myChartess2.dispose(); this.myChartess2=null; }
if(this.myChartess3){this.myChartess3.dispose(); this.myChartess3=null; }
if(this.myChartess4){this.myChartess4.dispose(); this.myChartess4=null; }
if(this.myChartess5){this.myChartess5.dispose(); this.myChartess5=null; }
this.waveDatas = []
// 清理所有可能的 echarts 实例
const chartNames = ['myChartess', 'myChartess1', 'myChartess2', 'myChartess3', 'myChartess4', 'myChartess5']
chartNames.forEach(name => {
if (this[name]) {
this[name].dispose()
this[name] = null
}
})
// 断开 echarts 实例连接
echarts.disconnect(chartNames.map(name => this[name]).filter(Boolean))
// this.waveDatas = []
// if(this.myChartess){this.myChartess.dispose(); this.myChartess=null; }
// if(this.myChartess1){this.myChartess1.dispose(); this.myChartess1=null; }
// if(this.myChartess2){this.myChartess2.dispose(); this.myChartess2=null; }
// if(this.myChartess3){this.myChartess3.dispose(); this.myChartess3=null; }
// if(this.myChartess4){this.myChartess4.dispose(); this.myChartess4=null; }
// if(this.myChartess5){this.myChartess5.dispose(); this.myChartess5=null; }
echarts.disconnect([this.myChartess,this.myChartess1,this.myChartess2,this.myChartess3,this.myChartess4,this.myChartess5])
// echarts.disconnect([this.myChartess,this.myChartess1,this.myChartess2,this.myChartess3,this.myChartess4,this.myChartess5])
// if (this.echartlist.length > 0) {

View File

@@ -122,16 +122,20 @@ export default {
},
methods: {
backbxlb() {
this.waveDatas = []
if(this.myChartess){this.myChartess.dispose(); this.myChartess=null; }
if(this.myChartess1){this.myChartess1.dispose(); this.myChartess1=null; }
if(this.myChartess2){this.myChartess2.dispose(); this.myChartess2=null; }
if(this.myChartess3){this.myChartess3.dispose(); this.myChartess3=null; }
if(this.myChartess4){this.myChartess4.dispose(); this.myChartess4=null; }
if(this.myChartess5){this.myChartess5.dispose(); this.myChartess5=null; }
echarts.disconnect([this.myChartess,this.myChartess1,this.myChartess2,this.myChartess3,this.myChartess4,this.myChartess5])
this.waveDatas = []
// 清理所有可能的 echarts 实例
const chartNames = ['myChartess', 'myChartess1', 'myChartess2', 'myChartess3', 'myChartess4', 'myChartess5']
chartNames.forEach(name => {
if (this[name]) {
this[name].dispose()
this[name] = null
}
})
// 断开 echarts 实例连接
echarts.disconnect(chartNames.map(name => this[name]).filter(Boolean))
// this.echartlist.forEach(item => {
// if (item) {

View File

@@ -4,7 +4,7 @@ export const defaultAttribute: VxeTableProps = {
align: 'center',
headerCellClassName: 'table-header-cell',
border: true,
// stripe: true,
size: 'small',
columnConfig: { resizable: true },
rowConfig: { isCurrent: true, isHover: true },