review:同步 vue5 官方的差异
This commit is contained in:
@@ -8,6 +8,7 @@ import type { ComponentType } from './component';
|
||||
import { setupVbenForm, useVbenForm as useForm, z } from '@vben/common-ui';
|
||||
import { $t } from '@vben/locales';
|
||||
|
||||
// TODO @xingyu:要不搞到全局的校验?
|
||||
/** 手机号正则表达式(中国) */
|
||||
const MOBILE_REGEX = /(?:0|86|\+86)?1[3-9]\d{9}/;
|
||||
|
||||
|
||||
@@ -133,7 +133,7 @@ async function handleNotificationMakeAll() {
|
||||
|
||||
/** 清空通知 */
|
||||
async function handleNotificationClear() {
|
||||
handleNotificationMakeAll();
|
||||
await handleNotificationMakeAll();
|
||||
}
|
||||
|
||||
/** 标记单个已读 */
|
||||
|
||||
Reference in New Issue
Block a user