Merge branch 'dev-3.5' of git.mesalab.cn:nezha/nezha-fronted into dev-3.6
This commit is contained in:
@@ -237,7 +237,7 @@ export default {
|
|||||||
this.object = { ...u, name: u.name + copyName, id: '' }
|
this.object = { ...u, name: u.name + copyName, id: '' }
|
||||||
if (this.object.name.length > 64) {
|
if (this.object.name.length > 64) {
|
||||||
const length = 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
|
this.rightBox.show = true
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user