U
he wei
5 天以前 487cc9bad146b1bcd86910746a341ef3455fb579
src/views/alarm/earlyWarningAnalysis.vue
@@ -235,14 +235,22 @@
const subProp = ref([]);
subProp.value = [1];
subProp.value = [1, 2];
subProp.value = [1, 2, 3];
subProp.value = [1, 2, 3, 4];
// subProp.value = [1, 2];
// subProp.value = [1, 2, 3];
// subProp.value = [1, 2, 3, 4];
let obj = [[1], [1, 2], [1, 2, 3], [1, 2, 3, 4]];
let i = 0;
onMounted(async () => {
  await getAlarmType();
  getAllProps();
  getList0();
  setInterval(() => {
    i++;
    i%=4;
    subProp.value.length = obj[i];
  }, 5000);
});
// onActivated(async () => {