yangyin
2024-11-08 f41e52e3debf30558d556dc0451776f5422fb9b8
src/views/project/ch/home/component/waterRight/center.vue
@@ -36,14 +36,13 @@
</template>
<script setup lang="ts">
import { reactive, ref } from 'vue';
import { reactive } from 'vue';
import { activeRoomId, activeSampleId, setRoomConfig } from '/@/stores/chatRoom';
let state = reactive({
   exampleContent: [],
   isShowExample: false,
   m_groupArr: [],
});
const exampleList = ref([]); //模版列表
const emits = defineEmits<{
   (event: 'advanceExampleClick', data): void;
   (event: 'updateChatInput', val): void;
@@ -90,14 +89,7 @@
      });
   });
   state.exampleContent = result;
   initGroupedArr();
};
//随机生成颜色
const randomHexColor = () => {
   return `#${Math.floor(Math.random() * 16777215)
      .toString(16)
      .padEnd(6, '0')}`;
};
defineExpose({
   tagListClick,