Fix(云灵AI):[#5193]返回主页,需要关闭规格弹窗

(cherry picked from commit 28ee55f9fd)
This commit is contained in:
lifizer
2026-04-29 16:29:51 +08:00
parent 49a19fe57d
commit e7e9ba0ec5
2 changed files with 5 additions and 4 deletions
+4 -1
View File
@@ -507,7 +507,7 @@ export const chatMixinsV2 = {
uniqueId: _this.attr.productSelect !== undefined ? _this.attr.productSelect.unique : ''
}).then(function (res) {
try {
_this.$set(_this.attr, 'cartAttr', false)
_this.closeAttrWindow()
const { cartId } = res.data
if (type === 1) {
uni.navigateTo({
@@ -534,6 +534,9 @@ export const chatMixinsV2 = {
_this.buyLoading = false
})
},
closeAttrWindow() {
this.$set(this.attr, 'cartAttr', false)
},
hotelItemClickHandle(item) {
this.audioStopHandle()
this.$yrouter.push({