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 {
},
tabClick (item, index) {
if (this.activeIndex == index) return
if (this.disabled) return uni.showToast({
title: this.disabledText || '',
if (this.disabled && this.disabledText) return uni.showToast({
title: this.disabledText,
icon: 'none',
mask: true,
duration: 2e3
......
......@@ -374,6 +374,9 @@ export default {
},
async getAiagent (item) {
if (item) {
uni.showLoading({
mask: true
})
const { phone } = uni.$storage.get('userInfo'),
[data] = await uni.$api.sceneMarketApi.getAiagent({
ownerShipType: 1,
......@@ -444,6 +447,7 @@ export default {
}
},
handlerMessage ({ detail }) {
uni.hideLoading()
let [data] = detail.data
if (typeof data.isResponding == 'boolean') this.isResponding = data.isResponding
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!