feat: Bot发布增加外链聊天界面
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import type { RouteRecordRaw } from 'vue-router';
|
||||
import type {RouteRecordRaw} from 'vue-router';
|
||||
|
||||
import { LOGIN_PATH } from '@easyflow/constants';
|
||||
import { preferences } from '@easyflow/preferences';
|
||||
import {LOGIN_PATH} from '@easyflow/constants';
|
||||
import {preferences} from '@easyflow/preferences';
|
||||
|
||||
import { $t } from '#/locales';
|
||||
import {$t} from '#/locales';
|
||||
|
||||
const BasicLayout = () => import('#/layouts/basic.vue');
|
||||
const AuthPageLayout = () => import('#/layouts/auth.vue');
|
||||
@@ -33,6 +33,20 @@ const coreRoutes: RouteRecordRaw[] = [
|
||||
name: 'OAuth',
|
||||
path: '/oauth',
|
||||
},
|
||||
{
|
||||
name: 'PublicBotChat',
|
||||
path: '/embed/chat/:botId',
|
||||
component: () => import('#/views/publicChat/index.vue'),
|
||||
meta: {
|
||||
title: 'PublicChat',
|
||||
noBasicLayout: true,
|
||||
hideInMenu: true,
|
||||
hideInTab: true,
|
||||
hideInBreadcrumb: true,
|
||||
ignoreAccess: true,
|
||||
loaded: true,
|
||||
},
|
||||
},
|
||||
/**
|
||||
* 根路由
|
||||
* 使用基础布局,作为所有页面的父级容器,子级就不必配置BasicLayout。
|
||||
|
||||
Reference in New Issue
Block a user