<script setup lang="ts">
import { BJ_Casino_BotController } from "../script/BJ_Casino_BotController";
import BJ_Casino_Bot from './BJ_Casino_Bot.vue';

const Script = new BJ_Casino_BotController();

</script>

<template>
    <div class="BJ_Casino_BotController">
        hostport:
        <el-select v-model="Script.ServerDefault.value" filterable
            @change="(data: any) => { Script.SelectServer(data) }">
            <el-option v-for="(item, index) in Script.Hostport" :key="item" :label="item" :value="index" />
        </el-select>
    </div>
    <div class="BJ_Casino_BotController">
        <BJ_Casino_Bot :BJ_Casino_BotController="Script" />
    </div>
</template>