23 lines
560 B
Vue
23 lines
560 B
Vue
<template>
|
||
<div>
|
||
<!-- 调试对象-->
|
||
<DrawPanneImageUpload />
|
||
</div>
|
||
</template>
|
||
<script lang="ts" setup>
|
||
import {
|
||
GlobalInjectKeyConst,
|
||
type GlobalInjectMaterials,
|
||
} from "~/types/common";
|
||
import { MockMaterials } from "~/composables/mock/material.data";
|
||
|
||
const materialData = ref(MockMaterials);
|
||
/**
|
||
* EasyAI平台,已全局注入素材库库信息这里,使用mock数据用于调试
|
||
*/
|
||
provide<GlobalInjectMaterials>(GlobalInjectKeyConst.AllMaterials, {
|
||
materials: materialData,
|
||
refreshMaterials: async () => [],
|
||
});
|
||
</script>
|