This commit is contained in:
joylink_zhaoerwei 2023-09-22 11:18:42 +08:00
parent 73b00b10aa
commit 09e3333a0d
2 changed files with 8 additions and 1 deletions

View File

@ -133,6 +133,7 @@ watch(
appSelectedGraphicsId !== undefined &&
isArraysEqual(selectGraphicId, appSelectedGraphicsId)
) {
selectGraphic.forEach((g) => g.updateSelected(true));
return;
}
const deviceFilter = lineStore.selectedGraphics?.filter((g) => {

View File

@ -96,7 +96,7 @@
<script setup lang="ts">
import DraggableDialog from '../common/DraggableDialog.vue';
import { ref, watch } from 'vue';
import { onMounted, ref, watch } from 'vue';
import { JlGraphic } from 'src/jl-graphic';
import { Station } from 'src/graphics/station/Station';
import { useLineStore } from 'src/stores/line-store';
@ -159,6 +159,7 @@ watch(
appSelectedGraphicsId !== undefined &&
isArraysEqual(selectGraphicId, appSelectedGraphicsId)
) {
selectGraphic.forEach((g) => g.updateSelected(true));
return;
}
const deviceFilter = lineStore.selectedGraphics?.filter((g) => {
@ -196,6 +197,11 @@ watch(
}
);
onMounted(() => {
clearSelect();
onReset();
});
const myForm = ref<QForm | null>(null);
const showsetAlartText = ref(true);
const $q = useQuasar();