lcw
This commit is contained in:
@ -52,13 +52,14 @@ import installFilter from "@/filters";
|
||||
import mitt from "mitt";
|
||||
|
||||
import { resetForm } from "@/utils/validate";
|
||||
import { getDict, setCascader } from '@/utils/dict';
|
||||
import { getDict, setCascader, getFzDict } from '@/utils/dict';
|
||||
import axios from "axios";
|
||||
// import fzui from 'fzui-fengqun-vue'
|
||||
|
||||
//挂载全局方法
|
||||
app.config.globalProperties.resetForm = resetForm;
|
||||
app.config.globalProperties.$dict = getDict; //字典公共函数
|
||||
app.config.globalProperties.$fzdict = getFzDict; //字典公共函数
|
||||
app.config.globalProperties.$message = ELMessage; //element提示组件
|
||||
app.config.globalProperties.$set = setCascader; //设置级联选择器回显
|
||||
app.config.globalProperties.mittBus = new mitt(); //配置事件总线
|
||||
|
||||
Reference in New Issue
Block a user