mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 10:21:55 +00:00
refactor: exchangeSelect -> typescript definition
This commit is contained in:
parent
67d2d3f434
commit
5868a8775b
|
@ -1,12 +1,10 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { useBotStore } from '@/stores/ftbotwrapper';
|
import { useBotStore } from '@/stores/ftbotwrapper';
|
||||||
|
|
||||||
import { ExchangeSelection } from '@/types';
|
import type { ExchangeSelection } from '@/types';
|
||||||
|
|
||||||
|
const exchangeModel = defineModel<ExchangeSelection>({ required: true });
|
||||||
|
|
||||||
const exchangeModel = defineModel({
|
|
||||||
type: Object as () => ExchangeSelection,
|
|
||||||
required: true,
|
|
||||||
});
|
|
||||||
const botStore = useBotStore();
|
const botStore = useBotStore();
|
||||||
|
|
||||||
const exchangeList = computed(() => {
|
const exchangeList = computed(() => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user