diff --git a/src/router/index.js b/src/router/index.js
index c855082..40b621f 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -146,6 +146,22 @@ export const constantRoutes = [
}
]
},
+ // 公共页面(免登录)可直接通过服务端 Anonymous 注解放行接口,这里仍挂在主框架下展示
+ {
+ path: '/public',
+ component: Layout,
+ redirect: 'noredirect',
+ name: 'Public',
+ meta: { title: '公共工具', icon: 'link' },
+ children: [
+ {
+ path: 'comment',
+ component: () => import('@/views/public/CommentGenerator'),
+ name: 'CommentGeneratorPublic',
+ meta: { title: '评论生成(公开)', icon: 'message' }
+ }
+ ]
+ },
{
path: '/sloworder',
component: Layout,
diff --git a/src/views/public/CommentGenerator.vue b/src/views/public/CommentGenerator.vue
new file mode 100644
index 0000000..996140d
--- /dev/null
+++ b/src/views/public/CommentGenerator.vue
@@ -0,0 +1,75 @@
+
+
+
+ 评论生成(公开)
+
+
+
+
+
+ 刷新
+
+
+ 生成评论
+
+
+
+
+ 复制结果
+
+
+
+
+
+
+
+
+
+
+
+