微调
This commit is contained in:
parent
73b00b10aa
commit
09e3333a0d
@ -133,6 +133,7 @@ watch(
|
||||
appSelectedGraphicsId !== undefined &&
|
||||
isArraysEqual(selectGraphicId, appSelectedGraphicsId)
|
||||
) {
|
||||
selectGraphic.forEach((g) => g.updateSelected(true));
|
||||
return;
|
||||
}
|
||||
const deviceFilter = lineStore.selectedGraphics?.filter((g) => {
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user