Feat: move ImageManager

This commit is contained in:
Lazy 2023-10-19 12:24:12 +08:00
parent c4a169b1ac
commit d22b69dc27
2 changed files with 4 additions and 3 deletions

View File

@ -29,7 +29,7 @@ import IframeCard from "@/widgets/others/IframeCard.vue";
import ClockCard from "@/widgets/others/ClockCard.vue";
import UserStatusBlock from "@/widgets/UserStatusBlock.vue";
import UserInstanceList from "@/widgets/UserInstanceList.vue";
import ImageManager from "@/widgets/ImageManager.vue";
import ImageManager from "@/widgets/imageManager/index.vue";
import { NEW_CARD_TYPE } from "../types/index";

View File

@ -5,8 +5,8 @@ import { Modal, message, notification } from "ant-design-vue";
import { PlusOutlined } from "@ant-design/icons-vue";
import CardPanel from "@/components/CardPanel.vue";
import BetweenMenus from "@/components/BetweenMenus.vue";
import { useScreen } from "../hooks/useScreen";
import { arrayFilter } from "../tools/array";
import { useScreen } from "@/hooks/useScreen";
import { arrayFilter } from "@/tools/array";
import { useLayoutCardTools } from "@/hooks/useCardTools";
import { imageList, containerList } from "@/services/apis/envImage";
import type { LayoutCard, ImageInfo, ContainerInfo } from "@/types";
@ -30,6 +30,7 @@ const getImageList = async () => {
if (images.value) imageDataSource.value = images.value;
} catch (err: any) {
console.error(err);
return message.error(err.message);
}
};