mirror of
https://github.com/MCSManager/MCSManager.git
synced 2025-01-24 15:14:01 +08:00
Feat: move ImageManager
This commit is contained in:
parent
c4a169b1ac
commit
d22b69dc27
@ -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";
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
};
|
Loading…
Reference in New Issue
Block a user