提示文字

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

@@ -44,7 +44,6 @@
"core-js": "^3.8.3",
"dayjs": "^1.9.5",
"dvcp-wui": "^1.0.1",
"echarts": "^5.5.0",
"flyio": "^0.6.2",
"query-string": "^7.1.1",
"regenerator-runtime": "^0.12.1",

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 => {