小助理
This commit is contained in:
@@ -140,7 +140,6 @@ export default {
|
||||
},
|
||||
onShow() {
|
||||
this.getAiTypeList()
|
||||
this.getHistoryList()
|
||||
},
|
||||
onPullDownRefresh() {
|
||||
if(this.current > this.pages) {
|
||||
@@ -320,7 +319,7 @@ export default {
|
||||
if (!this.token) {
|
||||
this.autoLogin({loginWay: 'admin', phoneCode}).then(() => {
|
||||
this.getUserInfo()
|
||||
this.getHistoryList()
|
||||
this.getAiTypeList()
|
||||
this.$u.toast('登录成功')
|
||||
})
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
</u-search>
|
||||
</div>
|
||||
</div>
|
||||
<div class="list-content" >
|
||||
<div class="list-content" :style="{'top': `${statusBarHeight+110}px`}">
|
||||
<div class="item" v-for="(item, index) in messageList" :key="index">
|
||||
<p class="item-text">{{item.content}}</p>
|
||||
<div class="time-flex">
|
||||
@@ -115,7 +115,7 @@ export default {
|
||||
del(e) {
|
||||
this.$dialog.confirm({content: "确定删除该数据?"}).then(() => {
|
||||
uni.showLoading()
|
||||
this.$instance.post(`appaicopilotinfo/deleteConversation?conversationId=${e.conversationId}`).then((res) => {
|
||||
this.$instance.post(`/app/appaicopilotinfo/deleteConversation?conversationId=${e.conversationId}`).then((res) => {
|
||||
if (res.code == 0) {
|
||||
this.$u.toast('删除成功!')
|
||||
this.getSearchList()
|
||||
@@ -159,7 +159,7 @@ page {
|
||||
.list-content {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 144px 32px 32px;
|
||||
padding: 0 32px 32px;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
z-index: 2;
|
||||
|
||||
Reference in New Issue
Block a user