# ai_demo_uni **Repository Path**: liyangouter/ai_demo_uni ## Basic Information - **Project Name**: ai_demo_uni - **Description**: 基于uniapp开发的ai聊天app - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2025-02-12 - **Last Updated**: 2025-02-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ai_demo_uni #### 介绍 基于uniapp开发的ai聊天app addMessage 修改为自己所需的参数 消息先展示loading 然后修改最后一个loading的值为false let newArr = [] newArr = that.messages newArr[newArr.length - 1] = { user: 'home', content: '我是ai返回的!', loading: false, type: 'text' }; that.messages = newArr