fix: mpv completed; add ci

This commit is contained in:
merlin
2025-11-01 17:24:55 +08:00
parent 60f3aac99a
commit 512b61b95e
17 changed files with 408 additions and 445 deletions

View File

@@ -14,6 +14,8 @@ const userInfo = userInfoStore();
const vditorRef = ref(null);
let vditor = null;
const emit = defineEmits(['ready'])
// 定义 localStorage 的 key
const STORAGE_KEY = 'publishArticle';
@@ -54,6 +56,7 @@ onMounted(() => {
}
},
after() {
emit('ready');
console.log('Vditor 初始化完成');
// 初始化后,加载本地缓存内容
const cachedContent = localStorage.getItem(STORAGE_KEY);