From cd84d42eaea2ca0e64d57e61cf876ea048b124ae Mon Sep 17 00:00:00 2001 From: lhbxs <596850703@qq.com> Date: Mon, 13 Nov 2023 02:35:47 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=20schema-builder=20g?= =?UTF-8?q?etValue=E3=80=81setValue=E3=80=81=E7=AD=89=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/schema-builder/index.md | 11 +++++++++-- tools/schema-builder/src/createIframe.ts | 2 +- tools/schema-builder/src/main.tsx | 20 ++++++++++++++++---- 3 files changed, 26 insertions(+), 7 deletions(-) diff --git a/docs/schema-builder/index.md b/docs/schema-builder/index.md index e3a2fdcc4..492f6b39e 100644 --- a/docs/schema-builder/index.md +++ b/docs/schema-builder/index.md @@ -56,13 +56,20 @@ externals: { * background: 'rgb(204,204,204, .33)' * padding: 20px */ -import React from 'react'; +import React, { useRef, useEffect } from 'react'; import SchemaBuilder from '@xrenders/schema-builder'; const Demo = () => { + + const domRef = useRef (); + + useEffect(() => { + + }, []) + return (