提示文字
This commit is contained in:
@@ -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 => {
|
||||
|
||||
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user