style(tmagic-form-runtime): 完善ts定义

This commit is contained in:
roymondchen 2024-03-13 16:25:11 +08:00
parent ca2c6af060
commit 52f09f9f22

View File

@ -23,7 +23,7 @@ export const useFormConfig = (props: AppProps) => {
// @ts-ignore
const formConfig = computed(() => props.fillConfig((config.value?.items || []) as FormConfig, mForm));
const app = new Core({
const app: Core | undefined = new Core({
ua: contentWindow?.navigator.userAgent,
platform: 'editor',
});