优化iframe模块的名称,不用中文名和特殊字符

This commit is contained in:
季圣华 2023-11-19 23:06:57 +08:00
parent 7f3cf92c6d
commit 3a0eeee245

View File

@ -187,7 +187,7 @@
}
}
return iframeArr.map((item) => {
const name = item.name || item.path.replace('/', '')
const name = item.path.replaceAll('/', '').replaceAll('.','')
return {
name: name,
path: item.path,