优化开发展示
This commit is contained in:
@@ -45,7 +45,7 @@ export default {
|
|||||||
return (this.apps || []).filter(e => !this.searchApp || reg?.test(e.name) || reg?.test(e.label)).map(e => {
|
return (this.apps || []).filter(e => !this.searchApp || reg?.test(e.name) || reg?.test(e.label)).map(e => {
|
||||||
if (/project/.test(e.path)) {
|
if (/project/.test(e.path)) {
|
||||||
e.project = e.path.replace(/.*project\/([^\/]+)\/.+/, '$1')
|
e.project = e.path.replace(/.*project\/([^\/]+)\/.+/, '$1')
|
||||||
} else if (/core/.test(e.path)) {
|
} else if (/\/core\//.test(e.path)) {
|
||||||
e.project = "core"
|
e.project = "core"
|
||||||
}
|
}
|
||||||
return e
|
return e
|
||||||
|
|||||||
Reference in New Issue
Block a user