Fix(云灵AI):[#5367]【送礼】开启新对话,送礼选项卡会保留上一次选择的内容-2
This commit is contained in:
@@ -754,6 +754,10 @@ export default {
|
|||||||
this.getConfigLoading = false
|
this.getConfigLoading = false
|
||||||
this.chatMessageList = []
|
this.chatMessageList = []
|
||||||
this.loadData()
|
this.loadData()
|
||||||
|
// 清空所有送礼选项
|
||||||
|
this.giftSelections = {}
|
||||||
|
this.giftBudget = ''
|
||||||
|
this.currentGiftStepIndex = 0
|
||||||
if (type !== 'giftChat') {
|
if (type !== 'giftChat') {
|
||||||
const idx = this.bottomTools.findIndex((i) => i.giftCardEnabled === 1)
|
const idx = this.bottomTools.findIndex((i) => i.giftCardEnabled === 1)
|
||||||
this.$set(this, 'showGiftSteps', false)
|
this.$set(this, 'showGiftSteps', false)
|
||||||
|
|||||||
Reference in New Issue
Block a user