提示文字

This commit is contained in:
liuye
2024-06-18 10:34:15 +08:00
parent 0c93015806
commit 2a12b0d5fc
3 changed files with 4 additions and 5 deletions

View File

@@ -186,7 +186,7 @@ export default {
},
sendMsg() {
if(!this.token) {
return this.$u.toast("请在'个人中心'登录")
return this.$u.toast("请先进行登录")
}
this.$loading()
this.$instance.post("/app/appaicopilotinfo/add", {content: this.content, appType: 0, areaId: this.areaId}).then(res => {
@@ -206,7 +206,7 @@ export default {
},
sendVoice() {
if(!this.token) {
return this.$u.toast("请在'个人中心'登录")
return this.$u.toast("请先进行登录")
}
this.$loading()
this.$instance.post("/app/appaicopilotinfo/add", {sdkFileUrl: this.voiceUrl, fileId: this.voiceId, appType: 0}).then(res => {
@@ -230,7 +230,7 @@ export default {
},
getHistoryList() {
if(!this.token) {
return this.$u.toast("请在'个人中心'登录")
return this.$u.toast("请先进行登录")
}
this.$loading()
this.$instance.post(`/app/appaicopilotinfo/list?current=${this.current}&size=10`).then(res => {

View File

@@ -74,7 +74,7 @@ export default {
...mapActions(['autoLogin']),
getHistoryList() {
if(!this.token) {
return this.$u.toast("请在'个人中心'登录")
return this.$u.toast("请先进行登录")
}
this.$loading()
this.$instance.post(`/app/appaicopilotinfo/list?current=${this.current}&size=10&content=${this.searchVal}`).then(res => {