fix: use global cdn
This commit is contained in:
@@ -38,9 +38,9 @@ onMounted(() => {
|
||||
placeholder: '请输入你的文章内容...',
|
||||
mode: 'sv',
|
||||
cache: {
|
||||
enable: false, // 禁用vditor内置缓存
|
||||
enable: false,
|
||||
},
|
||||
cdn: '/vditor', // 本地资源,完全离线
|
||||
// cdn: '/vditor',
|
||||
upload: {
|
||||
url: '/api/admin/upload/img',
|
||||
headers: {
|
||||
|
||||
@@ -50,7 +50,7 @@ onMounted(() => {
|
||||
theme: {
|
||||
current: 'light'
|
||||
},
|
||||
cdn: '/vditor'
|
||||
// cdn: '/vditor'
|
||||
})
|
||||
isLoading.value = false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user