Merge branch 'main' of https://gitea.mjm-staging.developers-homelab.net/ko.ko/CviLux_fe
This commit is contained in:
commit
5e13d284d3
@ -1,6 +1,7 @@
|
|||||||
import useSelectedFloor from "@/hooks/useSelectedFloor";
|
import useSelectedFloor from "@/hooks/useSelectedFloor";
|
||||||
import { watch, ref, inject } from "vue";
|
import { watch, ref, inject } from "vue";
|
||||||
import { useRoute } from "vue-router";
|
import { useRoute } from "vue-router";
|
||||||
|
import useSystemShowData from "@/hooks/useSystemShowData";
|
||||||
|
|
||||||
function useForgeFloor() {
|
function useForgeFloor() {
|
||||||
const route = useRoute();
|
const route = useRoute();
|
||||||
@ -59,9 +60,11 @@ function useForgeFloor() {
|
|||||||
forgeViewer.value.hide(parseInt(allDbIdsStr[i]));
|
forgeViewer.value.hide(parseInt(allDbIdsStr[i]));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const { flatSubData } = useSystemShowData();
|
||||||
const showDbIdFn = () => {
|
const showDbIdFn = () => {
|
||||||
hideDbIdFn();
|
hideDbIdFn();
|
||||||
subscribeData.value.forEach((value, index) => {
|
flatSubData.value.forEach((value, index) => {
|
||||||
forgeViewer.value.show(value.forge_dbid);
|
forgeViewer.value.show(value.forge_dbid);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -182,7 +182,7 @@ export default function useForgeSprite() {
|
|||||||
|
|
||||||
const showSubSystemObjects = () => {
|
const showSubSystemObjects = () => {
|
||||||
hideAllObjects();
|
hideAllObjects();
|
||||||
subscribeData.value.forEach((value, index) => {
|
flatSubData.value.forEach((value, index) => {
|
||||||
forgeViewer.value.show(value.forge_dbid);
|
forgeViewer.value.show(value.forge_dbid);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user