mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-06 03:57:56 +08:00
style(tmagic-form-runtime): 完善ts定义
This commit is contained in:
parent
ca2c6af060
commit
52f09f9f22
@ -23,7 +23,7 @@ export const useFormConfig = (props: AppProps) => {
|
|||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
const formConfig = computed(() => props.fillConfig((config.value?.items || []) as FormConfig, mForm));
|
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,
|
ua: contentWindow?.navigator.userAgent,
|
||||||
platform: 'editor',
|
platform: 'editor',
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user