release: update 4.4.0

This commit is contained in:
xiaoxian521
2023-06-14 16:29:45 +08:00
parent 6e02ae14a0
commit b6859d7920
24 changed files with 779 additions and 959 deletions

View File

@@ -7,7 +7,9 @@ export const auth: Directive = {
if (value) {
!hasAuth(value) && el.parentNode?.removeChild(el);
} else {
throw new Error("need auths! Like v-auth=\"['btn.add','btn.edit']\"");
throw new Error(
"[Directive: auth]: need auths! Like v-auth=\"['btn.add','btn.edit']\""
);
}
}
};