spring
2025-03-03 d68c5a3ef7025d67a2d92ea3aa84f73ec77ddd5f
src/main.js
@@ -49,6 +49,8 @@
import DictData from "@/components/DictData";
import { checkPermi } from "@/utils/permission"; // 权限判断函数
import { getToken } from "@/utils/auth";
// 时间转换
import Moment from "moment";
// 全局方法挂载
Vue.prototype.getDicts = getDicts;
@@ -80,6 +82,8 @@
    });
  },
});
Vue.use(Moment);
Vue.prototype.$moment = Moment;
// 全局组件挂载
Vue.component("DictTag", DictTag);