NEZ-2899 fix:Record rules复制Name过长数据时,自动补充错误
This commit is contained in:
@@ -237,7 +237,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
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user