|
@@ -16,6 +16,7 @@
|
|
|
content:{},
|
|
|
height:null,
|
|
|
width:null,
|
|
|
+ noVideoImg:null
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
@@ -30,7 +31,20 @@
|
|
|
// 上传文件接口(这个地址是我为了方便各位体验文件上传功能搭建的临时接口,请勿在生产环境使用!!!)
|
|
|
serverUrl: '//'+this.judgmentNetworkReturnAddress()+'/system/editor/exec',
|
|
|
// UEditor 资源文件的存放路径,如果你使用的是 vue-cli 生成的项目,通常不需要设置该选项,vue-ueditor-wrap 会自动处理常见的情况,如果需要特殊配置,参考下方的常见问题2
|
|
|
- UEDITOR_HOME_URL: './UEditor/'
|
|
|
+ UEDITOR_HOME_URL: './UEditor/',
|
|
|
+ toolbars:this.noVideoImg?
|
|
|
+ [[ 'undo', 'redo', '|','bold', 'italic', 'underline', 'fontborder', 'strikethrough', '|',
|
|
|
+ 'rowspacingtop', 'rowspacingbottom', 'lineheight', '|',
|
|
|
+ 'customstyle', 'paragraph', 'fontfamily', 'fontsize', '|',
|
|
|
+ 'forecolor', 'backcolor', '|',
|
|
|
+ 'horizontal', 'date', 'time',]]
|
|
|
+ :
|
|
|
+ [[ 'undo', 'redo', '|','bold', 'italic', 'underline', 'fontborder', 'strikethrough', '|',
|
|
|
+ 'rowspacingtop', 'rowspacingbottom', 'lineheight', '|',
|
|
|
+ 'customstyle', 'paragraph', 'fontfamily', 'fontsize', '|',
|
|
|
+ 'forecolor', 'backcolor', '|',
|
|
|
+ 'insertimage','insertvideo','|',
|
|
|
+ 'horizontal', 'date', 'time',]],
|
|
|
},
|
|
|
}
|
|
|
},
|