From 762ab787381b743b2e2bb1d8a3b7ee5aeacb7e0e Mon Sep 17 00:00:00 2001 From: long <515897141@qq.com> Date: 星期五, 18 二月 2022 12:01:16 +0800 Subject: [PATCH] 修复命名 --- src/main.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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) { -- Gitblit v1.8.0