fix: use global cdn
This commit is contained in:
@@ -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: {
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ onMounted(() => {
|
|||||||
theme: {
|
theme: {
|
||||||
current: 'light'
|
current: 'light'
|
||||||
},
|
},
|
||||||
cdn: '/vditor'
|
// cdn: '/vditor'
|
||||||
})
|
})
|
||||||
isLoading.value = false
|
isLoading.value = false
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user