diff --git a/src/components/ReCodePath/index.ts b/src/components/ReCodePath/index.ts new file mode 100644 index 000000000..a9fe55509 --- /dev/null +++ b/src/components/ReCodePath/index.ts @@ -0,0 +1,7 @@ +import { withInstall } from "@pureadmin/utils"; +import reCodePath from "./src/index.vue"; + +/** 代码位置组件 */ +export const ReCodePath = withInstall(reCodePath); + +export default ReCodePath; diff --git a/src/components/ReCodePath/src/index.vue b/src/components/ReCodePath/src/index.vue new file mode 100644 index 000000000..3f3740bed --- /dev/null +++ b/src/components/ReCodePath/src/index.vue @@ -0,0 +1,39 @@ + + + diff --git a/src/router/modules/able.ts b/src/router/modules/able.ts index 350fe395c..71f690bee 100644 --- a/src/router/modules/able.ts +++ b/src/router/modules/able.ts @@ -60,7 +60,7 @@ export default { } }, { - path: "/components/ripple", + path: "/able/ripple", name: "Ripple", component: () => import("@/views/able/ripple.vue"), meta: { diff --git a/src/views/able/barcode.vue b/src/views/able/barcode.vue index b6c027fae..f47fdbba6 100644 --- a/src/views/able/barcode.vue +++ b/src/views/able/barcode.vue @@ -1,4 +1,5 @@