maven
2025-12-02 16653643b991a7b6876b5a4764491c78529ff4e8
src/store/modules/permission.js
@@ -114,11 +114,11 @@
}
export const loadView = (view) => {
  let res;
  let res
  for (const path in modules) {
    const dir = path.split('views/')[1].split('.vue')[0];
    const dir = path.split('views/')[1].split('.vue')[0]
    if (dir === view) {
      res = () => modules[path]();
      res = () => modules[path]()
    }
  }
  return res