From 762ab787381b743b2e2bb1d8a3b7ee5aeacb7e0e Mon Sep 17 00:00:00 2001 From: long <515897141@qq.com> Date: 星期五, 18 二月 2022 12:01:16 +0800 Subject: [PATCH] 修复命名 --- src/components/WangEnduit/index.vue | 2 +- src/main.js | 2 +- src/styles/ry.scss | 4 ++-- src/components/WangEnduit/index_old.vue | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/WangEnduit/index.vue b/src/components/WangEnduit/index.vue index 53f61fb..5711968 100644 --- a/src/components/WangEnduit/index.vue +++ b/src/components/WangEnduit/index.vue @@ -138,7 +138,7 @@ // 鑷畾涔夐敊璇彁绀� this.editor.config.customAlert = function(info) { // info 鏄渶瑕佹彁绀虹殑鍐呭 - self.$messagewarn(info) + self.$messageWarn(info) } // 杩囨护word澶嶅埗 this.editor.config.pasteTextHandle = function(content) { diff --git a/src/components/WangEnduit/index_old.vue b/src/components/WangEnduit/index_old.vue index 3e0d96d..08ca07a 100644 --- a/src/components/WangEnduit/index_old.vue +++ b/src/components/WangEnduit/index_old.vue @@ -106,7 +106,7 @@ // 鑷畾涔夐敊璇彁绀� this.editor.customConfig.customAlert = function(info) { // info 鏄渶瑕佹彁绀虹殑鍐呭 - self.$messagewarn(info) + self.$messageWarn(info) } // 杩囨护word澶嶅埗 this.editor.customConfig.pasteTextHandle = function(content) { diff --git a/src/main.js b/src/main.js index 1499820..c2eae2a 100644 --- a/src/main.js +++ b/src/main.js @@ -39,7 +39,7 @@ 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) { diff --git a/src/styles/ry.scss b/src/styles/ry.scss index 225a386..d8eacfd 100644 --- a/src/styles/ry.scss +++ b/src/styles/ry.scss @@ -37,7 +37,7 @@ .mb10 { margin-bottom: 10px; } -.ml0 { +.ml10 { margin-left: 10px; } .mt20 { @@ -49,7 +49,7 @@ .mb20 { margin-bottom: 20px; } -.m20 { +.ml20 { margin-left: 20px; } -- Gitblit v1.8.0