修改测试问题

This commit is contained in:
guanj
2026-06-30 08:38:05 +08:00
parent 490b52b525
commit 536f22584d
103 changed files with 3220 additions and 2394 deletions

View File

@@ -693,12 +693,12 @@ const lineId: any = ref('')
const dataLevel: any = ref('')
const dataSource = ref([])
const engineeringName = ref('')
const devConType = ref('')
const nodeClick = async (e: anyObj, node?: any) => {
console.log("🚀 ~ nodeClick ~ node:", e)
if (e == undefined) {
return (loading.value = false)
}
if (e.pname?.includes('便携')) {
if (e?.pname.includes('便携')) {
deviceType.value = '1'
} else {
deviceType.value = '2'
@@ -1140,6 +1140,7 @@ const handleClick = async (tab?: any) => {
devId: deviceId.value, //e.id
lineId: lineId.value, //e.pid
engineeringName: engineeringName.value, //e.name
lineName: (TrendList.value as any)?.name || devData.value?.name,
type: 3,
list: [
{
@@ -1391,7 +1392,11 @@ const downloadTxt = () => {
URL.revokeObjectURL(url)
}
onMounted(() => { })
onMounted(() => {
setTimeout(() => {
loading.value=false
}, 3000)
})
onBeforeUnmount(() => {
clearInterval(realDataTimer.value)
clearInterval(trendTimer.value)