Commit cc83f432 by 胡悦

Merge branch 'SAAS+V4.55.0' of http://192.168.3.233:8090/glsx/gl_tape into SAAS+V4.55.0

2 parents 9201364f d4443466
...@@ -129,8 +129,8 @@ export default { ...@@ -129,8 +129,8 @@ export default {
}, },
tabClick (item, index) { tabClick (item, index) {
if (this.activeIndex == index) return if (this.activeIndex == index) return
if (this.disabled) return uni.showToast({ if (this.disabled && this.disabledText) return uni.showToast({
title: this.disabledText || '', title: this.disabledText,
icon: 'none', icon: 'none',
mask: true, mask: true,
duration: 2e3 duration: 2e3
......
...@@ -374,6 +374,9 @@ export default { ...@@ -374,6 +374,9 @@ export default {
}, },
async getAiagent (item) { async getAiagent (item) {
if (item) { if (item) {
uni.showLoading({
mask: true
})
const { phone } = uni.$storage.get('userInfo'), const { phone } = uni.$storage.get('userInfo'),
[data] = await uni.$api.sceneMarketApi.getAiagent({ [data] = await uni.$api.sceneMarketApi.getAiagent({
ownerShipType: 1, ownerShipType: 1,
...@@ -444,6 +447,7 @@ export default { ...@@ -444,6 +447,7 @@ export default {
} }
}, },
handlerMessage ({ detail }) { handlerMessage ({ detail }) {
uni.hideLoading()
let [data] = detail.data let [data] = detail.data
if (typeof data.isResponding == 'boolean') this.isResponding = data.isResponding if (typeof data.isResponding == 'boolean') this.isResponding = data.isResponding
if (typeof data.isRecording == 'boolean') this.isRecording = data.isRecording if (typeof data.isRecording == 'boolean') this.isRecording = data.isRecording
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!