拼图汇报
This commit is contained in:
@@ -15,7 +15,7 @@ const getFileInfo = (app, file) => {
|
||||
let {name, label} = app,
|
||||
path = app.path.replace(/.+[\\\/]([^\\\/]+)[\\\/]([^\\\/]+)$/g, `/apps/$1/$2`)
|
||||
apps.list.push({
|
||||
id: file.replace(/\.\/?(vue)?/g, '')?.replace(/[\\\/]/g, '_'),
|
||||
id: file.replace(/\.\/?(vue)?/g, '').replace(/[\\\/]/g, '_'),
|
||||
name,
|
||||
label,
|
||||
path,
|
||||
|
||||
Reference in New Issue
Block a user