bugfix
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
import { logger } from '../../utils/logger'
|
||||
|
||||
// 日志模块名
|
||||
const LOG = 'clothes-card'
|
||||
|
||||
Component({
|
||||
properties: {
|
||||
item: { type: Object, value: {} },
|
||||
@@ -8,6 +13,8 @@ Component({
|
||||
},
|
||||
methods: {
|
||||
onTap() {
|
||||
const item = this.data.item as any
|
||||
logger.debug(LOG, '点击衣物卡片, uuid=', item && item.clothes_uuid)
|
||||
this.triggerEvent('select', { item: this.data.item })
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user