diff --git a/packages/editor-ui/src/views/NodeView.vue b/packages/editor-ui/src/views/NodeView.vue index 9102042728..173f0bbf71 100644 --- a/packages/editor-ui/src/views/NodeView.vue +++ b/packages/editor-ui/src/views/NodeView.vue @@ -961,7 +961,7 @@ export default mixins( return originalName; } - const nameMatch = originalName.match(/(.*[a-zA-Z])(\d*)/); + const nameMatch = originalName.match(/(.*\D+)(\d*)/); let ignore, baseName, nameIndex, uniqueName; let index = 1;