|
@@ -1403,7 +1403,7 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
// 猜你想问
|
|
// 猜你想问
|
|
- async getResult (name) {
|
|
|
|
|
|
+ getResult: debounce(async function (name) {
|
|
// 名称为空或长度小于2不发请求
|
|
// 名称为空或长度小于2不发请求
|
|
if (!name || name.length < 2) return
|
|
if (!name || name.length < 2) return
|
|
const userSide = this.login.userType === 2 && this.other.userType === 1
|
|
const userSide = this.login.userType === 2 && this.other.userType === 1
|
|
@@ -1419,7 +1419,7 @@ export default {
|
|
this.hintShow = true
|
|
this.hintShow = true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- },
|
|
|
|
|
|
+ }, 350),
|
|
// 选择联想问题发送客服
|
|
// 选择联想问题发送客服
|
|
chooseQuestion (item) {
|
|
chooseQuestion (item) {
|
|
const { question, answer } = item
|
|
const { question, answer } = item
|