mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-04 23:36:59 +00:00
refactor: prettier nc-gui v1
This commit is contained in:
@@ -24,24 +24,22 @@ export default {
|
||||
// {text: ["Before", "Update"], value: ['before', 'update']},
|
||||
{ text: ['After', 'Update'], value: ['after', 'update'] },
|
||||
// {text: ["Before", "Delete"], value: ['before', 'delete']},
|
||||
{ text: ['After', 'Delete'], value: ['after', 'delete'] }
|
||||
]
|
||||
{ text: ['After', 'Delete'], value: ['after', 'delete'] },
|
||||
],
|
||||
}),
|
||||
computed: {
|
||||
hookEvent: {
|
||||
get() {
|
||||
return `${this.event} ${this.operation}`
|
||||
return `${this.event} ${this.operation}`;
|
||||
},
|
||||
set(v) {
|
||||
const [event, operation] = v.split(' ')
|
||||
this.$emit('update:event', event)
|
||||
this.$emit('update:operation', operation)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
const [event, operation] = v.split(' ');
|
||||
this.$emit('update:event', event);
|
||||
this.$emit('update:operation', operation);
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
<style scoped></style>
|
||||
|
||||
Reference in New Issue
Block a user