gaoluyang
9 天以前 c2398150b44b54a1f08e7af4b6a64f0c170046f0
src/store/modules/permission.js
@@ -165,7 +165,7 @@
  let res
  for (const path in modules) {
    const dir = path.split('views/')[1].split('.vue')[0]
    if (dir === view) {
    if (dir === view || dir === `${view}/index`) {
      res = () => modules[path]()
    }
  }