【开发】 消息修改 及首页消息
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user