Component({ properties: { conditionList:{ type:Array, }, choosedCondition:{ type:Object, }, conditionVisible:{ type:Boolean, value:false } }, data: { }, methods: { showCondition() { this.triggerEvent('showCondition', { conditionVisible: !this.properties.conditionVisible}) }, onChnageCondition(e) { let {id} = e.currentTarget.dataset this.triggerEvent('onChnageCondition',{ id: id}) }, } })