wujingjing
2024-11-06 8523de3e77f8b71cce8f90ed3f1b7d2885d9806b
src/components/chat/components/playBar/PlayBar.vue
@@ -207,6 +207,7 @@
onClickOutside(tipEleRef, () => {
   triggerShow.value = false;
});
const inputText = (text) => {
   nextTick(() => {
      setTimeout(() => {
@@ -438,11 +439,10 @@
//#region ====================== 当前应用场景 ======================
const currentGroupTypeIsShow = computed(() => !!activeGroupType.value);
const groupTypeClick = (item) => {
   activeGroupType.value = item;
   inputRef.value.focus();
   commonPhrasesRef.value.getCommonPhrases();
};
// 关闭当前 groupType 面板
@@ -456,6 +456,9 @@
const commonPhrasesClick = () => {
   isShowPhrase.value = true;
};
onClickOutside(commonPhrasesRef, () => {
   isShowPhrase.value = false;
});
const updateCommonChatInput = (val) => {
   inputValue.value = val;
   isShowPhrase.value = false;
@@ -464,7 +467,7 @@
   if (!props.isHome) {
      let obj = {
         id: val?.historyId,
         title: val?.content.values,
         question: val?.content.values,
      };
      commonPhrasesRef.value.commonChatByUser(obj);
      isShowPhrase.value = true;