From b6652624e396b73657867759a3d34c852f6de43f Mon Sep 17 00:00:00 2001 From: roymondchen Date: Wed, 15 Mar 2023 15:32:56 +0800 Subject: [PATCH] =?UTF-8?q?fix(runtime):=20vue=20playgound=20=E4=B8=ADdsl?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=B2=A1=E6=9C=89=E5=90=8C=E6=AD=A5=E5=88=B0?= =?UTF-8?q?Core=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- runtime/react/page/App.tsx | 4 ++-- runtime/react/page/index.html | 6 +++--- runtime/react/playground/index.html | 4 ++-- runtime/react/playground/main.tsx | 8 +++++++- runtime/vue2/playground/App.vue | 31 +++++++++++++++++++++++++++-- runtime/vue3/playground/App.vue | 29 +++++++++++++++++++++++++-- 6 files changed, 70 insertions(+), 12 deletions(-) diff --git a/runtime/react/page/App.tsx b/runtime/react/page/App.tsx index cbd6a7eb..bde5a17c 100644 --- a/runtime/react/page/App.tsx +++ b/runtime/react/page/App.tsx @@ -19,7 +19,7 @@ import React, { useContext } from 'react'; import Core from '@tmagic/core'; -import type { Page } from '@tmagic/schema'; +import type { MPage } from '@tmagic/schema'; import { AppContent } from '@tmagic/ui-react'; function App() { @@ -31,7 +31,7 @@ function App() { const MagicUiPage = app.resolveComponent('page'); - return ; + return ; } export default App; diff --git a/runtime/react/page/index.html b/runtime/react/page/index.html index 31b0602b..a8ee410d 100644 --- a/runtime/react/page/index.html +++ b/runtime/react/page/index.html @@ -9,17 +9,17 @@