| | |
| | | </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'; |
| | |
| | | confirmButtonText: '确定', |
| | | cancelButtonText: '取消', |
| | | dangerouslyUseHTMLString: true, |
| | | closeOnClickModal: false, |
| | | type: 'warning', |
| | | }).then(async () => { |
| | | const res = await deleteUserSample({ |