feat(oa): add cc read filters batch mark and unread styles
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
ecdf73fe23
commit
06b1468bf1
3 files changed
+271
-15
No files matched your search
@@ -34,9 +34,10 @@
|
||||
class="oa-task-card__btn"
|
||||
:class="{
|
||||
'is-primary': !!act.primary,
|
||||
'is-danger': !!act.danger && !act.primary
|
||||
'is-danger': !!act.danger && !act.primary,
|
||||
'is-disabled': !!act.disabled
|
||||
}"
|
||||
@click.stop="$emit('action', act)"
|
||||
@click.stop="onActionClick(act)"
|
||||
>
|
||||
{{ act.label }}
|
||||
</view>
|
||||
@@ -63,6 +64,12 @@
|
||||
const t = String(this.statusTone || 'info').toLowerCase()
|
||||
return TONES.includes(t) ? t : 'info'
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
onActionClick(act) {
|
||||
if (!act || act.disabled) return
|
||||
this.$emit('action', act)
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Reference in new issue
Block a user