upper to timi-ts

This commit is contained in:
Timi
2026-08-28 15:19:08 +08:00
parent f790122c01
commit ef71681bd5
45 changed files with 816 additions and 1018 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ import {
ArticleView
} from "timi-tdesign-pc";
import type { ArticleEditorExpose } from "timi-tdesign-pc";
import type { Article, ArticleContentType } from "timi-web/editor";
import type { Article, ArticleContentType } from "timi-tdesign-pc";
import { DEMO_ARTICLE_CONTENT, cloneArticle, uploadDemoMedia } from "../demo-data";
const contentTypeOptions: Array<{ label: string; value: ArticleContentType }> = [
+1 -1
View File
@@ -43,7 +43,7 @@ import {
NotifyView
} from "timi-tdesign-pc";
import type { NotifyEditorExpose } from "timi-tdesign-pc";
import type { NotifyDetail } from "timi-web/editor";
import type { NotifyDetail } from "timi-tdesign-pc";
import { cloneNotify, uploadDemoMedia } from "../demo-data";
const notifyValue = ref<NotifyDetail>(cloneNotify());
+1 -1
View File
@@ -1,4 +1,4 @@
import type { Article, NotifyDetail, UploadResult } from "timi-web/editor";
import type { Article, NotifyDetail, UploadResult } from "timi-tdesign-pc";
/** 编辑器演示使用的固定内容,避免每个页面各自维护一份 HTML。 */
export const DEMO_ARTICLE_CONTENT = `<h2>跨平台编辑器</h2>
+1 -2
View File
@@ -3,8 +3,7 @@ import Root from "./Root.vue";
import TimiWebUI, { VPopup } from "timi-web";
import "timi-web/style.css";
import "~/assets/style/tencent-cloud.less";
import "~/assets/style/tencent-cloud-custom.less";
import "~/assets/style/tdesign-custom.less";
const app = createApp(Root);
app.use(TimiWebUI);