diff --git a/.vscode/hook.code-snippets b/.vscode/hook.code-snippets index 158d9ce..0a4f2b4 100644 --- a/.vscode/hook.code-snippets +++ b/.vscode/hook.code-snippets @@ -1,16 +1,16 @@ { - "Vue3 Hook 代码结构一键生成": { - "prefix": "Vue3 Hook", + "Vue3 Composable 代码结构一键生成": { + "prefix": "Vue3 Composable", "body": [ "import { ref } from \"vue\"\n", "const refName1 = ref(\"这是一个响应式变量\")\n", - "export function useHookName() {", + "export function useName() {", "\tconst refName2 = ref(\"这是一个响应式变量\")\n", "\tconst fnName = () => {}\n", "\treturn { refName1, refName2, fnName }", "}", "$1" ], - "description": "Vue3 Hook" + "description": "Vue3 Composable" } } diff --git a/README.md b/README.md index aab275d..e9ef192 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ China repository: [Gitee](https://gitee.com/un-pany/v3-admin-vite) - **Multiple layouts**:Left, Top, Left Top, three layout modes - **Error page**: 403, 404 - **Dashboard**: Display different Dashboard pages according to different users -- **Other functions**:SVG, Dynamic Sidebar, Dynamic Breadcrumb Navigation, Tabbed Navigation, Screenfull, Adaptive Shrink Sidebar, Hook (Composables) +- **Other functions**:SVG, Dynamic Sidebar, Dynamic Breadcrumb Navigation, Tabbed Navigation, Screenfull, Adaptive Shrink Sidebar, Composable ## 🚀 Development diff --git a/README.zh-CN.md b/README.zh-CN.md index 1f4ef96..eae9326 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -57,7 +57,7 @@ V3 Admin Vite 是一个免费开源的中后台管理系统基础解决方案, - **多布局**:左侧、顶部、混合, 三种布局模式 - **错误页面**: 403、404 - **Dashboard**:根据不同用户显示不同的 Dashboard 页面 -- **其他内置功能**:SVG、动态侧边栏、动态面包屑、标签页快捷导航、Screenfull 全屏、自适应收缩侧边栏、Hook(Composables) +- **其他内置功能**:SVG、动态侧边栏、动态面包屑、标签页快捷导航、Screenfull 全屏、自适应收缩侧边栏、Composable ## 🚀 开发 diff --git a/src/App.vue b/src/App.vue index 8f995ea..2134863 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,6 +1,6 @@ diff --git a/src/layouts/components/Settings/index.vue b/src/layouts/components/Settings/index.vue index b7869c7..99f45db 100644 --- a/src/layouts/components/Settings/index.vue +++ b/src/layouts/components/Settings/index.vue @@ -1,5 +1,5 @@