【开发】 消息修改 及首页消息

This commit is contained in:
fengachen
2021-12-20 15:49:10 +08:00
parent 08b3ef0317
commit 883f433c8c
3 changed files with 156 additions and 130 deletions
+7 -2
View File
@@ -23,11 +23,16 @@ export default {
let path = this.path.replace('@comp', '')
// @views/incomePayments重复导致找不到组件
path = path.replace('@views/incomePayments', '')
if (path && path.includes('financialManagement')) {
path = path.replaceAll('@views/financialManagement', '')
}
// 这么写 是因未用数据库的路径拿不到 组件 实例
if (path && path.includes('AuditModal')) {
return resolve => require([`@views/incomePayments${ path }.vue`], resolve)
return resolve => require([`@views/incomePayments${path}.vue`], resolve)
} else if (path && path.includes('AuditProofModule')) {
return resolve => require([`@views/financialManagement${path}.vue`], resolve)
} else {
return resolve => require([`@/components${ path }.vue`], resolve)
return resolve => require([`@/components${path}.vue`], resolve)
}
}
},