Commit 2351d955 by 李伟康

修改字段

1 parent 44b681c4
...@@ -87,7 +87,7 @@ export default { ...@@ -87,7 +87,7 @@ export default {
issue: '', issue: '',
scriptLibraryAIId: '', scriptLibraryAIId: '',
todayQuestionLeft: 0, todayQuestionLeft: 0,
qustionCountTotal: 20 questionCountTotal: 20
} }
}, },
watch: { watch: {
...@@ -117,7 +117,7 @@ export default { ...@@ -117,7 +117,7 @@ export default {
if (code == 0 && data) { if (code == 0 && data) {
this.scriptLibraryAIId = data.scriptLibraryAIId this.scriptLibraryAIId = data.scriptLibraryAIId
this.todayQuestionLeft = data.todayQuestionLeft this.todayQuestionLeft = data.todayQuestionLeft
this.qustionCountTotal = data.qustionCountTotal this.questionCountTotal = data.questionCountTotal
} }
else throw message else throw message
this.hideLoading() this.hideLoading()
...@@ -132,10 +132,10 @@ export default { ...@@ -132,10 +132,10 @@ export default {
} }
}, },
send (val) { send (val) {
const { issue, todayQuestionLeft, qustionCountTotal } = this, const { issue, todayQuestionLeft, questionCountTotal } = this,
content = val || issue content = val || issue
if (todayQuestionLeft == 0) { if (todayQuestionLeft == 0) {
return this.showToast(`每天每个用户最多发送提问${qustionCountTotal}个问题`) return this.showToast(`每天每个用户最多发送提问${questionCountTotal}个问题`)
} }
if (!content) return if (!content) return
const chatTime = Date.now() 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!