This is an automated email from the ASF dual-hosted git repository. xxyu pushed a commit to branch kylin5 in repository https://gitbox.apache.org/repos/asf/kylin.git
commit a4c6e8ad3e28846f0af274c0309777994b489d3a Author: Qian Xia <lauraxiaq...@gmail.com> AuthorDate: Fri Aug 4 15:40:28 2023 +0800 KYLIN-5680 model alias issue --- kystudio/src/components/studio/StudioModel/ModelEdit/model.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kystudio/src/components/studio/StudioModel/ModelEdit/model.js b/kystudio/src/components/studio/StudioModel/ModelEdit/model.js index 7d111e1f34..32951a5428 100644 --- a/kystudio/src/components/studio/StudioModel/ModelEdit/model.js +++ b/kystudio/src/components/studio/StudioModel/ModelEdit/model.js @@ -1006,7 +1006,7 @@ class NModel extends Schama { _createUniqueName (guid, alias) { if (alias && guid) { var sameCount = this._checkSameAlias(guid, alias) - var finalAlias = alias.toUpperCase().replace(/[^a-zA-Z_0-9]/g, '') + var finalAlias = alias.toUpperCase().replace(/[^a-zA-Z_0-9\u4e00-\u9fa5]/g, '') if (sameCount === 0) { return finalAlias } else {