Commit 2351d955 by 李伟康

修改字段

1 parent 44b681c4
......@@ -87,7 +87,7 @@ export default {
issue: '',
scriptLibraryAIId: '',
todayQuestionLeft: 0,
qustionCountTotal: 20
questionCountTotal: 20
}
},
watch: {
......@@ -117,7 +117,7 @@ export default {
if (code == 0 && data) {
this.scriptLibraryAIId = data.scriptLibraryAIId
this.todayQuestionLeft = data.todayQuestionLeft
this.qustionCountTotal = data.qustionCountTotal
this.questionCountTotal = data.questionCountTotal
}
else throw message
this.hideLoading()
......@@ -132,10 +132,10 @@ export default {
}
},
send (val) {
const { issue, todayQuestionLeft, qustionCountTotal } = this,
const { issue, todayQuestionLeft, questionCountTotal } = this,
content = val || issue
if (todayQuestionLeft == 0) {
return this.showToast(`每天每个用户最多发送提问${qustionCountTotal}个问题`)
return this.showToast(`每天每个用户最多发送提问${questionCountTotal}个问题`)
}
if (!content) return
const chatTime = Date.now()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!