فهرست منبع

Revert "feat: 添加 Dify chatbot 配置和动态加载脚本"

This reverts commit 3fddccec53715118b42f2eb4f340fc4a8945706a.
weipengtao 6 ماه پیش
والد
کامیت
db6ccfa785
1فایلهای تغییر یافته به همراه0 افزوده شده و 24 حذف شده
  1. 0 24
      src/views/Project/Schedule.vue

+ 0 - 24
src/views/Project/Schedule.vue

@@ -151,23 +151,6 @@ export default {
       return this.$store.state.workspace.currentProjectMembers;
     },
   },
-  mounted() {
-    // Dify chatbot 配置
-    window.difyChatbotConfig = {
-      token: 'h8mBtz4IQMSuT3xm',
-      baseUrl: 'http://dify.seec.seecoder.cn',
-      systemVariables: {},
-      userVariables: {},
-    };
-    // 动态加载 Dify chatbot 脚本
-    if (!document.getElementById('h8mBtz4IQMSuT3xm')) {
-      const script = document.createElement('script');
-      script.src = 'http://dify.seec.seecoder.cn/embed.min.js';
-      script.id = 'h8mBtz4IQMSuT3xm';
-      script.defer = true;
-      document.head.appendChild(script);
-    }
-  },
   watch: {
     $route: {
       async handler() {
@@ -363,11 +346,4 @@ export default {
 .el-table .cell{
   white-space: pre-line;
 }
-#dify-chatbot-bubble-button {
-  background-color: #1C64F2 !important;
-}
-#dify-chatbot-bubble-window {
-  width: 24rem !important;
-  height: 40rem !important;
-}
 </style>