Browse Source

xiug

jiexi1_1
YF-yuan 3 years ago
parent
commit
2e35702b86
1 changed files with 8 additions and 7 deletions
  1. +8
    -7
      src/views/Home.vue

+ 8
- 7
src/views/Home.vue View File

for (var key in paramVaules) { for (var key in paramVaules) {
this.allPointList.push(paramVaules[key]); this.allPointList.push(paramVaules[key]);
} }
console.log(this.allPointList);
}); });
let icon = new Style({ let icon = new Style({
image: new Icon({ image: new Icon({
} }
// 1-2 采样点显示 // 1-2 采样点显示
if ($index == 1) { if ($index == 1) {
if (index == 0) {
index = 2;
} else if (index == 1) {
index = 0;
} else if (index == 2) {
index = 1;
}
// if (index == 0) {
// index = 2;
// } else if (index == 1) {
// index = 0;
// } else if (index == 2) {
// index = 1;
// }
if ($event.target.checked) { if ($event.target.checked) {
// 设置初始采样点统计图数据 // 设置初始采样点统计图数据
this.pointList = this.allPointList[index]; this.pointList = this.allPointList[index];

Loading…
Cancel
Save