微调
This commit is contained in:
parent
73b00b10aa
commit
09e3333a0d
@ -133,6 +133,7 @@ watch(
|
|||||||
appSelectedGraphicsId !== undefined &&
|
appSelectedGraphicsId !== undefined &&
|
||||||
isArraysEqual(selectGraphicId, appSelectedGraphicsId)
|
isArraysEqual(selectGraphicId, appSelectedGraphicsId)
|
||||||
) {
|
) {
|
||||||
|
selectGraphic.forEach((g) => g.updateSelected(true));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const deviceFilter = lineStore.selectedGraphics?.filter((g) => {
|
const deviceFilter = lineStore.selectedGraphics?.filter((g) => {
|
||||||
|
@ -96,7 +96,7 @@
|
|||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import DraggableDialog from '../common/DraggableDialog.vue';
|
import DraggableDialog from '../common/DraggableDialog.vue';
|
||||||
import { ref, watch } from 'vue';
|
import { onMounted, ref, watch } from 'vue';
|
||||||
import { JlGraphic } from 'src/jl-graphic';
|
import { JlGraphic } from 'src/jl-graphic';
|
||||||
import { Station } from 'src/graphics/station/Station';
|
import { Station } from 'src/graphics/station/Station';
|
||||||
import { useLineStore } from 'src/stores/line-store';
|
import { useLineStore } from 'src/stores/line-store';
|
||||||
@ -159,6 +159,7 @@ watch(
|
|||||||
appSelectedGraphicsId !== undefined &&
|
appSelectedGraphicsId !== undefined &&
|
||||||
isArraysEqual(selectGraphicId, appSelectedGraphicsId)
|
isArraysEqual(selectGraphicId, appSelectedGraphicsId)
|
||||||
) {
|
) {
|
||||||
|
selectGraphic.forEach((g) => g.updateSelected(true));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const deviceFilter = lineStore.selectedGraphics?.filter((g) => {
|
const deviceFilter = lineStore.selectedGraphics?.filter((g) => {
|
||||||
@ -196,6 +197,11 @@ watch(
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
onMounted(() => {
|
||||||
|
clearSelect();
|
||||||
|
onReset();
|
||||||
|
});
|
||||||
|
|
||||||
const myForm = ref<QForm | null>(null);
|
const myForm = ref<QForm | null>(null);
|
||||||
const showsetAlartText = ref(true);
|
const showsetAlartText = ref(true);
|
||||||
const $q = useQuasar();
|
const $q = useQuasar();
|
||||||
|
Loading…
Reference in New Issue
Block a user