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 },
|
modelValue: { type: String, required: true },
|
||||||
showDetails: { default: false, required: false, type: Boolean },
|
showDetails: { default: false, required: false, type: Boolean },
|
||||||
});
|
});
|
||||||
const emit = defineEmits<{ 'update:modelValue': [value: boolean] }>();
|
const emit = defineEmits<{ 'update:modelValue': [value: string] }>();
|
||||||
|
|
||||||
const botStore = useBotStore();
|
const botStore = useBotStore();
|
||||||
|
|
||||||
|
|
|
@ -92,14 +92,14 @@ defineProps({
|
||||||
default: false,
|
default: false,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
defineEmits([
|
defineEmits<{
|
||||||
'forceExit',
|
forceExit: [trade: Trade, type?: 'limit' | 'market'];
|
||||||
'forceExitPartial',
|
forceExitPartial: [trade: Trade];
|
||||||
'cancelOpenOrder',
|
cancelOpenOrder: [trade: Trade];
|
||||||
'reloadTrade',
|
reloadTrade: [trade: Trade];
|
||||||
'deleteTrade',
|
deleteTrade: [trade: Trade];
|
||||||
'forceEntry',
|
forceEntry: [trade: Trade];
|
||||||
]);
|
}>();
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss"></style>
|
<style scoped lang="scss"></style>
|
||||||
|
|
|
@ -7,14 +7,14 @@ defineProps({
|
||||||
botApiVersion: { type: Number, required: true },
|
botApiVersion: { type: Number, required: true },
|
||||||
enableForceEntry: { type: Boolean, default: false },
|
enableForceEntry: { type: Boolean, default: false },
|
||||||
});
|
});
|
||||||
const emit = defineEmits([
|
const emit = defineEmits<{
|
||||||
'forceExit',
|
forceExit: [trade: Trade, type?: string];
|
||||||
'forceExitPartial',
|
forceExitPartial: [trade: Trade];
|
||||||
'cancelOpenOrder',
|
cancelOpenOrder: [trade: Trade];
|
||||||
'reloadTrade',
|
reloadTrade: [trade: Trade];
|
||||||
'deleteTrade',
|
deleteTrade: [trade: Trade];
|
||||||
'forceEntry',
|
forceEntry: [trade: Trade];
|
||||||
]);
|
}>();
|
||||||
const popoverOpen = ref(false);
|
const popoverOpen = ref(false);
|
||||||
|
|
||||||
function forceExitHandler(item: Trade, ordertype: string | undefined = undefined) {
|
function forceExitHandler(item: Trade, ordertype: string | undefined = undefined) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user