修改了编辑框1114444
This commit is contained in:
parent
220781f044
commit
d8651570a3
@ -53,11 +53,20 @@
|
|||||||
|
|
||||||
const ueditorBasePath = computed(() => {
|
const ueditorBasePath = computed(() => {
|
||||||
if (isProduction.value) {
|
if (isProduction.value) {
|
||||||
|
// 线上环境:确保包含UEditorPlus层级
|
||||||
return '/admin/web/UEditorPlus/'
|
return '/admin/web/UEditorPlus/'
|
||||||
}
|
}
|
||||||
|
// 本地环境
|
||||||
return '/UEditorPlus/'
|
return '/UEditorPlus/'
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// 调试信息
|
||||||
|
console.log('UEditor环境配置:', {
|
||||||
|
apiBase: apiBase.value,
|
||||||
|
isProduction: isProduction.value,
|
||||||
|
ueditorBasePath: ueditorBasePath.value
|
||||||
|
})
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
// 内容
|
// 内容
|
||||||
modelValue: {
|
modelValue: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user