对话记录

This commit is contained in:
liuye
2024-06-18 08:47:43 +08:00
parent 7596a1f709
commit 50a70380bd
2 changed files with 5 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
<div class="AppDialogue">
<u-navbar title="Copilot小助理" title-color="#000" title-width="300" title-size="32" :title-bold="true" :background="backgroundNavbar" :is-back="false"></u-navbar>
<!-- <scroll-view scroll-y="true" class="scroll-Y" @scroll="scroll"> -->
<!-- <div class="service-content" v-if="!messageList.length">
<div class="service-content" v-if="!messageList.length">
<div class="text-content">
<div class="text-left">
<div>你好呀</div>
@@ -11,7 +11,7 @@
</div>
<img src="https://cdn.cunwuyun.cn/wechat/biaopin/residentAssistant/service.png" alt="" class="service-img">
</div>
</div> -->
</div>
<div class="list-bg"></div>
<div class="list-content">
<div v-for="(item, index) in messageList" :key="index">

View File

@@ -78,6 +78,9 @@ export default {
methods: {
...mapActions(['autoLogin']),
getHistoryList() {
if(this.token) {
return this.$u.toast("请在'个人中心'登录")
}
this.$loading()
this.$instance.post(`/app/appaicopilotinfo/list?current=${this.current}&size=10&content=${this.searchVal}`).then(res => {
if(res.code == 0 && res.data.records.length) {