bugfix
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
import { logger } from '../../utils/logger'
|
||||
|
||||
// 日志模块名
|
||||
const LOG = 'empty-state'
|
||||
|
||||
Component({
|
||||
properties: {
|
||||
icon: { type: String, value: 'icon-hanger' },
|
||||
@@ -8,6 +13,7 @@ Component({
|
||||
},
|
||||
methods: {
|
||||
onTap() {
|
||||
logger.debug(LOG, '点击空态按钮, text=', this.data.buttonText)
|
||||
this.triggerEvent('action')
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user