From 27ef0be098a42070f47c7b8532ef14626cbe5a85 Mon Sep 17 00:00:00 2001 From: siaikin Date: Wed, 11 Sep 2024 00:58:18 +0800 Subject: [PATCH] fix: fix document code --- docs/examples/PrintByComponent.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/docs/examples/PrintByComponent.vue b/docs/examples/PrintByComponent.vue index f949503..03468a4 100644 --- a/docs/examples/PrintByComponent.vue +++ b/docs/examples/PrintByComponent.vue @@ -7,16 +7,13 @@ import ComponentToPrint from "./ComponentToPrint.vue"; const componentRef = ref(); const state = reactive({ text: "old boring text" }); -const getComponentToPrint = () => { - return componentRef.value; -}; // #endregion script // #region template