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 | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/hive-app/main.js b/hive-app/main.js index 6abef22..e5d4d3a 100644 --- a/hive-app/main.js +++ b/hive-app/main.js @@ -1,5 +1,23 @@ import Vue from 'vue' import App from './App' +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 -- Gitblit v1.9.1