liudong
2024-08-09 5c6980b4727b6b1e60a4d5aa30e1fb3cb7833676
智能体管理和菜单的bug修改
2个文件已修改
2个文件已添加
6 ■■■■■ 已修改文件
src/assets/images/model.png 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/images/model1.png 补丁 | 查看 | 原始文档 | blame | 历史
src/components/menu/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dmx/IntelligentAgent/index.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/images/model.png
src/assets/images/model1.png
src/components/menu/index.vue
@@ -135,6 +135,7 @@
        return travel(menuTree.value);
      };
      // selected-keys={selectedKey.value}
      return () => (
        <a-menu
          mode={topMenu.value ? 'horizontal' : 'vertical'}
@@ -142,7 +143,6 @@
          v-model:open-keys={openKeys.value}
          show-collapse-button={appStore.device !== 'mobile'}
          auto-open={false}
          selected-keys={selectedKey.value}
          auto-open-selected={true}
          level-indent={34}
          style="height: 100%;width:100%;"
src/views/dmx/IntelligentAgent/index.vue
@@ -60,7 +60,7 @@
                      <img
                        :style="{ width: '100%' }"
                        alt="dessert"
                        :src="item.icon || 'https://p1-arco.byteimg.com/tos-cn-i-uwbnlip3yd/a20012a2d4d5b9db43dfc6a01fe508c0.png~tplv-uwbnlip3yd-webp.webp'"
                        :src="item.icon || imgSrc"
                      />
                    </a-avatar>
                    <a-switch
@@ -130,11 +130,13 @@
  const { loading, setLoading } = useLoading(true);
  import EventBus from '@/utils/EventBus';
  import AgentConfig from "@/views/dmx/IntelligentAgent/components/agentConfig.vue";
  import logo from "../../../assets/images/model.png";
  let documentHeight = window.innerHeight - 360
  let count = 5;
  const activeKey = ref(1);
  const addAgents = ref();
  const editAgentKuai = ref();
  const imgSrc = ref(logo);
  const agentList = ref([
    // {
    //   key: 2,