yyb
2026-04-18 88566a9843fd0e1f4c98d696446f2ff27234ad72
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