Merge remote-tracking branch 'yudao-ui-admin-vue3/dev' into dev

# Conflicts:
#	src/views/ai/utils/constants.ts
This commit is contained in:
hhhero
2024-07-10 00:15:07 +08:00
30 changed files with 1813 additions and 1237 deletions

View File

@@ -8,7 +8,7 @@
*/
/** 判断字符串是否包含中文 */
export const hasChinese = async (str) => {
export const hasChinese = (str: string) => {
return /[\u4e00-\u9fa5]/.test(str)
}