mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-22 19:15:15 +00:00
chore: Fix remaining emit styles
This commit is contained in:
parent
a44ff57032
commit
78001c3b91
|
@ -29,7 +29,7 @@ const props = defineProps({
|
|||
modelValue: { type: String, required: true },
|
||||
showDetails: { default: false, required: false, type: Boolean },
|
||||
});
|
||||
const emit = defineEmits<{ 'update:modelValue': [value: boolean] }>();
|
||||
const emit = defineEmits<{ 'update:modelValue': [value: string] }>();
|
||||
|
||||
const botStore = useBotStore();
|
||||
|
||||
|
|
|
@ -92,14 +92,14 @@ defineProps({
|
|||
default: false,
|
||||
},
|
||||
});
|
||||
defineEmits([
|
||||
'forceExit',
|
||||
'forceExitPartial',
|
||||
'cancelOpenOrder',
|
||||
'reloadTrade',
|
||||
'deleteTrade',
|
||||
'forceEntry',
|
||||
]);
|
||||
defineEmits<{
|
||||
forceExit: [trade: Trade, type?: 'limit' | 'market'];
|
||||
forceExitPartial: [trade: Trade];
|
||||
cancelOpenOrder: [trade: Trade];
|
||||
reloadTrade: [trade: Trade];
|
||||
deleteTrade: [trade: Trade];
|
||||
forceEntry: [trade: Trade];
|
||||
}>();
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss"></style>
|
||||
|
|
|
@ -7,14 +7,14 @@ defineProps({
|
|||
botApiVersion: { type: Number, required: true },
|
||||
enableForceEntry: { type: Boolean, default: false },
|
||||
});
|
||||
const emit = defineEmits([
|
||||
'forceExit',
|
||||
'forceExitPartial',
|
||||
'cancelOpenOrder',
|
||||
'reloadTrade',
|
||||
'deleteTrade',
|
||||
'forceEntry',
|
||||
]);
|
||||
const emit = defineEmits<{
|
||||
forceExit: [trade: Trade, type?: string];
|
||||
forceExitPartial: [trade: Trade];
|
||||
cancelOpenOrder: [trade: Trade];
|
||||
reloadTrade: [trade: Trade];
|
||||
deleteTrade: [trade: Trade];
|
||||
forceEntry: [trade: Trade];
|
||||
}>();
|
||||
const popoverOpen = ref(false);
|
||||
|
||||
function forceExitHandler(item: Trade, ordertype: string | undefined = undefined) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user