[前台]系統監控熱點殘留首頁 bug

This commit is contained in:
Celeste 2023-06-02 11:37:18 +08:00
parent 371e80eb89
commit 099945f533

View File

@ -910,6 +910,7 @@ async function testNewLight(dataList) {
//------------------- 加入熱點 ----------------- //------------------- 加入熱點 -----------------
async function addHotPoint(data) { async function addHotPoint(data) {
if (pageAct.sysMainTag == null && pageAct.sysSubTag == null) return
var viewer = data.target ? data.target : data; var viewer = data.target ? data.target : data;
const dataVizExtn = await viewer.loadExtension("Autodesk.DataVisualization"); const dataVizExtn = await viewer.loadExtension("Autodesk.DataVisualization");
const DataVizCore = Autodesk.DataVisualization.Core; const DataVizCore = Autodesk.DataVisualization.Core;