wujingjing
2024-12-17 1622a4d80dd86d0fde35af6908937f9be670fee3
src/components/chat/components/playBar/phrase/CommonPhrases.vue
@@ -59,7 +59,7 @@
</template>
<script setup lang="ts">
import { ElMessageBox, ElMessage } from 'element-plus';
import { ElMessage, ElMessageBox } from 'element-plus';
import { computed, onMounted, reactive, ref } from 'vue';
import { addUserSample, deleteUserSample, listUserSample, updateUserSample } from '/@/api/ai/chat';
import { activeGroupType, activeRoomId, activeSampleId, setRoomConfig } from '/@/stores/chatRoom';
@@ -118,6 +118,7 @@
      confirmButtonText: '确定',
      cancelButtonText: '取消',
      dangerouslyUseHTMLString: true,
      closeOnClickModal: false,
      type: 'warning',
   }).then(async () => {
      const res = await deleteUserSample({