Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
HSunboy committed Jul 9, 2024
1 parent 880e6de commit d099c70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/component/MonacoEditor/plugins/ob-language/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export function getModelService(
if (!dbName) {
dbName = sessionFunc()?.database?.dbName;
}
if (/[\w]+/.test(realTableName) && realTableName?.length < 500) {
if (/[\u4e00-\u9fa5\w]+/.test(realTableName) && realTableName?.length < 500) {
const db =
sessionFunc()?.allIdentities[dbName] ||
sessionFunc()?.allIdentities[dbName?.toUpperCase()];
Expand Down

0 comments on commit d099c70

Please sign in to comment.