Просмотр исходного кода

test: change route path and file location for debugging

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
yb 2 недель назад
Родитель
Сommit
524a045091
3 измененных файлов с 5 добавлено и 5 удалено
  1. 1 1
      src/layout/index.vue
  2. 4 4
      src/router/index.ts
  3. 0 0
      src/views/test/cc-simple.vue

+ 1 - 1
src/layout/index.vue

@@ -415,7 +415,7 @@ const menuItems: MenuItem[] = [
   { path: '/camera', title: '摄像头管理', icon: CameraIcon },
   // { path: '/user', title: '用户管理', icon: UserIcon },
   { path: '/cc', title: 'Cloudflare Stream', icon: CloudIcon },
-  { path: '/cc-simple', title: 'CC Simple', icon: CloudIcon },
+  { path: '/test-page', title: 'Test Page', icon: CloudIcon },
   { path: '/webrtc', title: 'WebRTC 流', icon: ConnectionIcon },
   {
     path: '/demo',

+ 4 - 4
src/router/index.ts

@@ -87,10 +87,10 @@ const routes: RouteRecordRaw[] = [
         meta: { title: 'Cloudflare Stream', icon: 'VideoCamera' }
       },
       {
-        path: 'cc-simple',
-        name: 'CCSimple',
-        component: () => import('@/views/demo/cc-simple.vue'),
-        meta: { title: 'CC Simple', icon: 'VideoCamera' }
+        path: 'test-page',
+        name: 'TestPage',
+        component: () => import('@/views/test/cc-simple.vue'),
+        meta: { title: 'Test Page', icon: 'VideoCamera' }
       },
       {
         path: 'webrtc',

+ 0 - 0
src/views/demo/cc-simple.vue → src/views/test/cc-simple.vue