spring
2025-03-05 7a58dddddb9e229b9ad03499a18dcdf07fcee4c5
src/main.js
@@ -26,6 +26,7 @@
  selectDictLabels,
  handleTree,
} from "@/utils/ruoyi";
import { dictToValue } from "@/utils/index";
// 分页组件
import Pagination from "@/components/Pagination";
// 自定义表格工具组件
@@ -59,6 +60,7 @@
Vue.prototype.selectDictLabels = selectDictLabels;
Vue.prototype.download = download;
Vue.prototype.handleTree = handleTree;
Vue.prototype.dictToValue = dictToValue;
Vue.prototype.HaveJson = (val) => {
  return JSON.parse(JSON.stringify(val));
};
@@ -69,6 +71,7 @@
Vue.prototype.uploadHeader = {
  Authorization: "Bearer " + getToken(),
};
// 解决el-radio-group单选框自身的bug
Vue.directive("removeAriaHidden", {
  bind(el, binding) {