修改测试问题
This commit is contained in:
@@ -18,6 +18,7 @@ import { calcShuYAxisRange, formatAxisLabel } from '@/utils/chartAxisHelper'
|
||||
import url from '@/assets/img/point.png'
|
||||
import { buildWaveCacheKey, getWaveCache, setWaveCache } from '@/utils/waveCache'
|
||||
import { getShuWorker, buildWorkerPayload } from '@/utils/waveWorkerPool'
|
||||
import { buildExportBaseName, formatExportDateTime } from '@/utils/echartMethod'
|
||||
|
||||
let waveRequestId = 0
|
||||
const pendingCacheKeys = new Map<number, string>()
|
||||
@@ -207,7 +208,7 @@ const download = () => {
|
||||
scale: 2
|
||||
}).then(function (canvas) {
|
||||
const creatIMg = document.createElement('a')
|
||||
creatIMg.download = '瞬间波形.png'
|
||||
creatIMg.download = (props.boxoList.lineName || props.boxoList.measurementPointName || props.boxoList.equipmentName) + '_瞬间波形_' + formatExportDateTime() + '.png'
|
||||
creatIMg.href = canvas.toDataURL()
|
||||
creatIMg.click()
|
||||
creatIMg.remove()
|
||||
@@ -566,7 +567,7 @@ const initWave = (
|
||||
start: 0,
|
||||
bottom: '20px',
|
||||
end: 100,
|
||||
filterMode: 'filter'
|
||||
filterMode: 'filter'
|
||||
},
|
||||
{
|
||||
start: 0,
|
||||
|
||||
Reference in New Issue
Block a user