diff --git a/docs/module-federation-guide.md b/docs/module-federation-guide.md index 7ada5082..b9f46149 100644 --- a/docs/module-federation-guide.md +++ b/docs/module-federation-guide.md @@ -86,7 +86,7 @@ const emit = defineEmits(['action', 'switch', 'close']) // 接收API对象 const props = defineProps({ api: { - type: any, + type: Object, default: () => {} } }) @@ -130,7 +130,7 @@ const props = defineProps({ default: () => ({}) }, api: { - type: any, + type: Object, default: () => {} } })