refactor editor

This commit is contained in:
Timi
2026-08-25 17:35:42 +08:00
parent bc375e1b2d
commit 13bd61326d
40 changed files with 4444 additions and 55 deletions
+9
View File
@@ -0,0 +1,9 @@
import { ToastPlugin } from "tdesign-mobile-vue";
type MessageType = "warning" | "error";
export async function showPlatformMessage(type: MessageType, content: string) {
await Promise.resolve(ToastPlugin[type]({
message: content
}));
}