From 58f944e74c0fc663ee78f962eff53395a09220da Mon Sep 17 00:00:00 2001
From: li-guang <153605324@qq.com>
Date: Fri, 25 Dec 2020 18:02:28 +0800
Subject: [PATCH] Merge branch 'master' of https://gitee.com/jyyforjava/hive-app

---
 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