| | |
| | | // 自定义错误提示 |
| | | this.editor.config.customAlert = function(info) { |
| | | // info 是需要提示的内容 |
| | | self.$messagewarn(info) |
| | | self.$messageWarn(info) |
| | | } |
| | | // 过滤word复制 |
| | | this.editor.config.pasteTextHandle = function(content) { |
| | |
| | | // 自定义错误提示 |
| | | this.editor.customConfig.customAlert = function(info) { |
| | | // info 是需要提示的内容 |
| | | self.$messagewarn(info) |
| | | self.$messageWarn(info) |
| | | } |
| | | // 过滤word复制 |
| | | this.editor.customConfig.pasteTextHandle = function(content) { |
| | |
| | | Vue.prototype.$messageSuc = function(msg) { |
| | | this.$message({ message: msg, dangerouslyUseHTMLString: true, type: 'success' }) |
| | | } |
| | | Vue.prototype.$messagewarn = function(msg) { |
| | | Vue.prototype.$messageWarn = function(msg) { |
| | | this.$message({ message: msg, dangerouslyUseHTMLString: true, type: 'warning' }) |
| | | } |
| | | Vue.prototype.$messageError = function(msg) { |
| | |
| | | .mb10 { |
| | | margin-bottom: 10px; |
| | | } |
| | | .ml0 { |
| | | .ml10 { |
| | | margin-left: 10px; |
| | | } |
| | | .mt20 { |
| | |
| | | .mb20 { |
| | | margin-bottom: 20px; |
| | | } |
| | | .m20 { |
| | | .ml20 { |
| | | margin-left: 20px; |
| | | } |
| | | |