liding
7 天以前 62b0623c3476c971dc9bfa36cb0f3b3a4e0544a4
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]()
    }
  }