diff --git a/apps/web-antd/package.json b/apps/web-antd/package.json index eaf502e5..eb7261d9 100644 --- a/apps/web-antd/package.json +++ b/apps/web-antd/package.json @@ -41,7 +41,7 @@ "@vben/styles": "workspace:*", "@vben/types": "workspace:*", "@vben/utils": "workspace:*", - "@vueuse/core": "^11.0.1", + "@vueuse/core": "^11.0.3", "ant-design-vue": "^4.2.3", "crypto-js": "^4.2.0", "dayjs": "^1.11.13", diff --git a/apps/web-ele/package.json b/apps/web-ele/package.json index c2f18413..fa70273b 100644 --- a/apps/web-ele/package.json +++ b/apps/web-ele/package.json @@ -40,7 +40,7 @@ "@vben/styles": "workspace:*", "@vben/types": "workspace:*", "@vben/utils": "workspace:*", - "@vueuse/core": "^11.0.1", + "@vueuse/core": "^11.0.3", "dayjs": "^1.11.13", "element-plus": "^2.8.1", "pinia": "2.2.2", diff --git a/apps/web-naive/package.json b/apps/web-naive/package.json index f86fdc10..82a3902d 100644 --- a/apps/web-naive/package.json +++ b/apps/web-naive/package.json @@ -40,7 +40,7 @@ "@vben/styles": "workspace:*", "@vben/types": "workspace:*", "@vben/utils": "workspace:*", - "@vueuse/core": "^11.0.1", + "@vueuse/core": "^11.0.3", "naive-ui": "^2.39.0", "pinia": "2.2.2", "vue": "^3.4.38", diff --git a/docs/package.json b/docs/package.json index e6c9242e..b61a19c3 100644 --- a/docs/package.json +++ b/docs/package.json @@ -13,7 +13,7 @@ "devDependencies": { "@nolebase/vitepress-plugin-git-changelog": "^2.4.0", "@vite-pwa/vitepress": "^0.5.0", - "vitepress": "^1.3.3", + "vitepress": "^1.3.4", "vue": "^3.4.38" } } diff --git a/docs/src/en/guide/in-depth/access.md b/docs/src/en/guide/in-depth/access.md index 6a20d6a1..05997d7d 100644 --- a/docs/src/en/guide/in-depth/access.md +++ b/docs/src/en/guide/in-depth/access.md @@ -231,10 +231,12 @@ const { hasAccessByCodes } = useAccess(); #### Directive Method +> The directive supports binding single or multiple permission codes. For a single one, you can pass a string or an array containing one permission code, and for multiple permission codes, you can pass an array. + ```vue