refactor: prettier nc-gui v1

This commit is contained in:
Wing-Kam Wong
2022-07-06 18:19:04 +08:00
parent 9555b455e0
commit 8b863ca3d8
289 changed files with 19265 additions and 23785 deletions

View File

@@ -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>