import tab from './tab'
import auth from './auth'
import modal from './modal'
import validation from '@/utils/test.js';
import user from '../store/modules/user.js'

export default {
	install(Vue) {
		// 页签操作
		Vue.prototype.$tab = tab
		// 认证对象
		Vue.prototype.$auth = auth
		// 模态框对象
		Vue.prototype.$modal = modal
		//校验
		Vue.prototype.$validation = validation
		//用户信息
		Vue.prototype.$user = user
	}
}