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


const props = defineProps<{ Client: any, Script: BJ_Casino_Bot }>()
const LoginScript = new BJ_Casino_Bot_Login(props.Script);
props.Script.LoginScript = LoginScript;
</script>

<template>
    <div>
        帳號:
        <el-input type="account" v-model="LoginScript.Account.value" :rows="5" />
        密碼:
        <el-input type="password" v-model="LoginScript.Password.value" :rows="5" />
        <div>
            <el-button type="success" @click.native="() => { LoginScript.OnclickLogin() }" round>
                登入
            </el-button>
        </div>
    </div>
</template>