Merge branch 'dev-3.7' of git.mesalab.cn:nezha/nezha-fronted into dev-3.8

This commit is contained in:
zyh
2023-06-21 14:10:55 +08:00
7 changed files with 9 additions and 12 deletions

View File

@@ -238,7 +238,7 @@ export default {
this.object = { ...u, name: u.name + copyName, id: '' }
if (this.object.name.length > 64) {
const length = this.object.name.length - 64
this.object.name = u.name.substring(0, u.name.length - length) + '-copy'
this.object.name = u.name.substring(0, u.name.length - length) + copyName
}
this.rightBox.show = true
},