mirror of
https://github.com/yudaocode/yudao-ui-admin-vue3.git
synced 2026-05-11 05:24:32 +00:00
Merge remote-tracking branch 'yudao-ui-admin-vue3/dev' into dev
# Conflicts: # src/views/ai/utils/constants.ts
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
*/
|
||||
|
||||
/** 判断字符串是否包含中文 */
|
||||
export const hasChinese = async (str) => {
|
||||
export const hasChinese = (str: string) => {
|
||||
return /[\u4e00-\u9fa5]/.test(str)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user