/*
 * @Author: wanglj 471442253@qq.com
 * @Date: 2022-12-13 10:28:33
 * @LastEditors: wanglj
 * @LastEditTime: 2022-12-16 16:33:15
 * @Description: file content
 * @FilePath: \opms_frontend\src\vab\plugins\element.js
 */
import Vue from 'vue'
import ElementUI from 'element-ui'
import '@/vab/styles/variables/element-variables.scss'
import 'element-ui/lib/theme-chalk/display.css'
import i18n from '@/i18n'
ElementUI.Dialog.props.closeOnClickModal.default = false

Vue.use(ElementUI, {
  size: 'small',
  i18n: (key, value) => i18n.t(key, value),
})
