From 5873842260052b7dbadac7fafafd610888967efe Mon Sep 17 00:00:00 2001 From: roymondchen Date: Wed, 12 Jun 2024 15:00:52 +0800 Subject: [PATCH] =?UTF-8?q?style(runtime):=20=E5=AE=8C=E5=96=84ts=E5=AE=9A?= =?UTF-8?q?=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- runtime/react/page/App.tsx | 2 +- runtime/react/playground/App.tsx | 2 +- runtime/vue2/page/App.vue | 2 +- runtime/vue2/playground/App.vue | 1 + runtime/vue3/page/App.vue | 2 +- runtime/vue3/playground/App.vue | 1 + 6 files changed, 6 insertions(+), 4 deletions(-) diff --git a/runtime/react/page/App.tsx b/runtime/react/page/App.tsx index 668d5798..0fb1a221 100644 --- a/runtime/react/page/App.tsx +++ b/runtime/react/page/App.tsx @@ -19,7 +19,7 @@ import React, { useContext, useState } from 'react'; import { cloneDeep } from 'lodash-es'; -import Core from '@tmagic/core'; +import type Core from '@tmagic/core'; import type { ChangeEvent } from '@tmagic/data-source'; import type { MNode } from '@tmagic/schema'; import { AppContent } from '@tmagic/ui-react'; diff --git a/runtime/react/playground/App.tsx b/runtime/react/playground/App.tsx index bde5a17c..c533caf7 100644 --- a/runtime/react/playground/App.tsx +++ b/runtime/react/playground/App.tsx @@ -18,7 +18,7 @@ import React, { useContext } from 'react'; -import Core from '@tmagic/core'; +import type Core from '@tmagic/core'; import type { MPage } from '@tmagic/schema'; import { AppContent } from '@tmagic/ui-react'; diff --git a/runtime/vue2/page/App.vue b/runtime/vue2/page/App.vue index fef89ecc..35938684 100644 --- a/runtime/vue2/page/App.vue +++ b/runtime/vue2/page/App.vue @@ -6,7 +6,7 @@ import { defineComponent, inject } from 'vue'; import type { Page } from '@tmagic/core'; -import Core from '@tmagic/core'; +import type Core from '@tmagic/core'; import { addParamToUrl } from '@tmagic/utils'; import { useDsl } from '@tmagic/vue-runtime-help'; diff --git a/runtime/vue2/playground/App.vue b/runtime/vue2/playground/App.vue index 691b6477..c26ca3e0 100644 --- a/runtime/vue2/playground/App.vue +++ b/runtime/vue2/playground/App.vue @@ -5,6 +5,7 @@