待弹框的数据为非响应式的
This commit is contained in:
parent
49bfd7e346
commit
036fddf8fe
@ -7,7 +7,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { watch, onUnmounted, ref, markRaw } from 'vue';
|
||||
import { watch, onUnmounted, ref, toRaw } from 'vue';
|
||||
import { AlarmInfo, useLineNetStore } from 'src/stores/line-net-store';
|
||||
import { DialogChainObject, useQuasar } from 'quasar';
|
||||
import alarmInfoDialog from 'src/components/alarm/alarmInfoDialog.vue';
|
||||
@ -41,7 +41,7 @@ watch(
|
||||
alarm(alarmType, val[0].id);
|
||||
playAlarmMusic(alarmType);
|
||||
} else {
|
||||
waitShowDialog.push(markRaw(lineNetStore.alarmInfo[0]));
|
||||
waitShowDialog.push(toRaw(lineNetStore.alarmInfo[0]));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user