From 7890d895bd543436d44ff66c88c356977675e758 Mon Sep 17 00:00:00 2001
From: li-guang <153605324@qq.com>
Date: Tue, 29 Dec 2020 18:26:42 +0800
Subject: [PATCH] 忘记密码

---
 hive-app/main.js |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/hive-app/main.js b/hive-app/main.js
index 692e40e..e5d4d3a 100644
--- a/hive-app/main.js
+++ b/hive-app/main.js
@@ -3,11 +3,22 @@
 import httpUtils from './common/jssdk/httpUtils.js'
 import utils from './common/jssdk/utils.js'
 import toast from './common/jssdk/toast.js'
+import filters from './common/jssdk/filters.js'
+
+import noRecord from './components/noRecord/index';  
 
 Vue.prototype.$httpUtils = httpUtils
 Vue.prototype.$utils = utils
 Vue.prototype.$toast = toast
 
+// 注册全局过滤器
+Object.keys(filters).map(v => {
+    Vue.filter(v, filters[v])
+})
+
+// 注册全局组件
+Vue.component('noRecord', noRecord);
+
 Vue.config.productionTip = false
 
 App.mpType = 'app'

--
Gitblit v1.9.1