wujingjing
2024-11-04 3e52ec41322cd3bbb96f8d1492dc9b69cebd6661
字体 ,超时
已修改2个文件
6 ■■■■ 文件已修改
src/components/chat/Chat.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/utils/request.ts 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/chat/Chat.vue
@@ -33,7 +33,7 @@
                                                @click="toggleStepList(item)"
                                                class="cursor-pointer border border-gray-300 border-solid w-fit px-2 flex items-center space-x-2 rounded-lg mb-3 hover:bg-gray-100 active:bg-gray-200"
                                            >
                                                <span>
                                                <span >
                                                    {{ toggleStepLabel(item) }}
                                                </span>
                                                <span class="ywifont" :class="{ 'ywicon-unfold': !item.stepIsShow, 'ywicon-fold': item.stepIsShow }"></span>
@@ -51,7 +51,7 @@
                                                    <span v-else class="ywifont ywicon-loading1 animate-spin"></span>
                                                </template> -->
                                                    <template #title>
                                                        <span>{{ subItem.title }}</span>
                                                        <span class="text-sm">{{ subItem.title }}</span>
                                                    </template>
                                                </el-step>
                                            </el-steps>
src/utils/request.ts
@@ -131,7 +131,7 @@
const createAxiosInstance = (option: Partial<CreateAxiosDefaults<any>> = {}) => {
    return axios.create({
        baseURL: MAIN_URL,
        timeout: 50000,
        timeout: 120000,
        headers: { 'Content-Type': 'application/json;charset=utf-8 ' },
        ...option,
    });