fix: use global cdn

This commit is contained in:
merlin
2025-11-12 15:51:36 +08:00
parent fbec5aeb49
commit 8067f8bf55
2 changed files with 3 additions and 3 deletions

View File

@@ -38,9 +38,9 @@ onMounted(() => {
placeholder: '请输入你的文章内容...', placeholder: '请输入你的文章内容...',
mode: 'sv', mode: 'sv',
cache: { cache: {
enable: false, // 禁用vditor内置缓存 enable: false,
}, },
cdn: '/vditor', // 本地资源,完全离线 // cdn: '/vditor',
upload: { upload: {
url: '/api/admin/upload/img', url: '/api/admin/upload/img',
headers: { headers: {

View File

@@ -50,7 +50,7 @@ onMounted(() => {
theme: { theme: {
current: 'light' current: 'light'
}, },
cdn: '/vditor' // cdn: '/vditor'
}) })
isLoading.value = false isLoading.value = false
} }