From 19a376c99acc3e443e2045765d545cdb1b02cb76 Mon Sep 17 00:00:00 2001 From: yma16 <17685043634@163.com> Date: Sun, 24 Jul 2022 21:45:14 +0800 Subject: [PATCH] =?UTF-8?q?perf:=E6=B7=BB=E5=8A=A0element=E7=9A=84?= =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/importElement.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/importElement.js b/src/importElement.js index 3b8cc20..c5ad786 100644 --- a/src/importElement.js +++ b/src/importElement.js @@ -21,7 +21,8 @@ import { Link, Loading, Pagination, - Alert + Alert, + Notification } from 'element-ui' const importElementComponents = (Vue) => { @@ -48,7 +49,7 @@ const importElementComponents = (Vue) => { Vue.use(Pagination) Vue.use(Alert) Vue.prototype.$message = Message - // Vue.prototype.$notify = Notification + Vue.prototype.$notify = Notification } export default importElementComponents -- GitLab