|
@@ -391,6 +391,7 @@ import importSemantics from '../components/importSemantics.vue';
|
|
export default {
|
|
export default {
|
|
mixins:[mixinMsg,reportMixin,reportApproveConfig],
|
|
mixins:[mixinMsg,reportMixin,reportApproveConfig],
|
|
data() {
|
|
data() {
|
|
|
|
+ let that = this;
|
|
return {
|
|
return {
|
|
//批量导入图表
|
|
//批量导入图表
|
|
importChartNum:0,//批量导入图表的数量 如果大于0则说明在加载
|
|
importChartNum:0,//批量导入图表的数量 如果大于0则说明在加载
|
|
@@ -497,7 +498,16 @@ export default {
|
|
placeholderText:localStorage.getItem('i18n') == 'en' ? 'Please Overview' : '请输入overview',
|
|
placeholderText:localStorage.getItem('i18n') == 'en' ? 'Please Overview' : '请输入overview',
|
|
language: localStorage.getItem('i18n') == 'en' ? 'en' : "zh_cn",
|
|
language: localStorage.getItem('i18n') == 'en' ? 'en' : "zh_cn",
|
|
//允许粘贴的样式
|
|
//允许粘贴的样式
|
|
- pasteAllowedStyleProps: ['font-family', 'font-size', 'color']
|
|
|
|
|
|
+ pasteAllowedStyleProps: ['font-family', 'font-size', 'color'],
|
|
|
|
+ events:{
|
|
|
|
+ "paste.before":function(e,editor){
|
|
|
|
+ let content = e.clipboardData.getData('text/html');
|
|
|
|
+ if(content.includes('<iframe')){
|
|
|
|
+ that.$message.warning("粘贴内容含有外链,请核对内容或粘贴纯文本")
|
|
|
|
+ return false
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
},
|
|
},
|
|
|
|
|
|
showDSFB:false,//显示定时发布弹窗
|
|
showDSFB:false,//显示定时发布弹窗
|