feat: 提交构建
This commit is contained in:
2
Yi.Ai.Vue3/types/components.d.ts
vendored
2
Yi.Ai.Vue3/types/components.d.ts
vendored
@@ -31,8 +31,6 @@ declare module 'vue' {
|
||||
ElMain: typeof import('element-plus/es')['ElMain']
|
||||
ElMenu: typeof import('element-plus/es')['ElMenu']
|
||||
ElMenuItem: typeof import('element-plus/es')['ElMenuItem']
|
||||
ElOption: typeof import('element-plus/es')['ElOption']
|
||||
ElSelect: typeof import('element-plus/es')['ElSelect']
|
||||
ElTable: typeof import('element-plus/es')['ElTable']
|
||||
ElTableColumn: typeof import('element-plus/es')['ElTableColumn']
|
||||
ElTooltip: typeof import('element-plus/es')['ElTooltip']
|
||||
|
||||
1
Yi.Ai.Vue3/types/import_meta.d.ts
vendored
1
Yi.Ai.Vue3/types/import_meta.d.ts
vendored
@@ -6,6 +6,7 @@ interface ImportMetaEnv {
|
||||
readonly VITE_WEB_ENV: string;
|
||||
readonly VITE_WEB_BASE_API: string;
|
||||
readonly VITE_API_URL: string;
|
||||
readonly VITE_BUILD_COMPRESS: string;
|
||||
readonly VITE_SSO_SEVER_URL: string;
|
||||
readonly VITE_SSO_CLIENT_ID: string;
|
||||
readonly VITE_APP_VERSION: string;
|
||||
|
||||
@@ -22,4 +22,21 @@
|
||||
<div id="app"></div>
|
||||
<script type="module" src="/src/main.js"></script>
|
||||
</body>
|
||||
|
||||
<!-- 引入聊天组件脚本 -->
|
||||
<script src="https://opendeep.wiki/koala-chat-widget.js"></script>
|
||||
<script>
|
||||
KoalaChatWidget.init({
|
||||
appId: 'ccnetcore',
|
||||
title: 'ccnetcore',
|
||||
theme: 'light', // 或 'dark'
|
||||
// 其他可选配置...
|
||||
onError: (error) => {
|
||||
console.error('Chat widget error:', error);
|
||||
},
|
||||
onValidationFailed: (domain) => {
|
||||
console.error('Domain validation failed:', domain);
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user