修改测试问题
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user