Browse Source

首页屏幕动画渲染

main
不爱学习的石同学 11 months ago
parent
commit
6bbfe3c985
  1. 7
      src/views/datav/subonedatav/SubOneGlobal.vue

7
src/views/datav/subonedatav/SubOneGlobal.vue

@ -246,7 +246,7 @@ const option = ref({
position: 'bottom',
formatter: function (params) {
const dataItem = globalTempMapVoList.value.find(item => item.name === params.name) || {}; //
console.log("Data item:", dataItem);
// console.log("Data item:", dataItem);
if (dataItem.name === params.name) {
return `
<div class="tooltip">
@ -534,9 +534,8 @@ const setupEventListeners = () => {
const handleClick = (params) => {
const departId = params.data.departId;
show.value = true;
tempDepartId.value=2661
console.log(subOneGlobalMapIntervalId);
clearInterval(subOneGlobalMapIntervalId);
tempDepartId.value=departId
// clearInterval(subOneGlobalMapIntervalId);
// alert(departId)
}

Loading…
Cancel
Save