BJ_ServerState/src/components/BJ_ServerState.vue

39 lines
781 B
Vue
Raw Normal View History

2022-07-26 14:09:04 +08:00
<script setup lang="ts">
import { ref } from "vue";
import { BJ_Casino_Data } from "../script/BJ_Casino_Data";
import { BJ_ServerState } from "../script/BJ_ServerState";
const props = defineProps<{ BJ_Casino: BJ_Casino_Data, ID: number }>()
let Name = ref("");
let Host = ref("");
let Port = ref("");
let IsConnect = ref("false");
const self = {
ID: props.ID,
BJ_Casino: props.BJ_Casino,
Name: Name,
Host: Host,
Port: Port,
IsConnect: IsConnect,
}
const Script = new BJ_ServerState(self);
</script>
<template>
<tr>
<td>
<font size="5"><b>{{ Name }}</b></font>
</td>
<td>
<font size="5"><b>{{ Host }}</b></font>
</td>
<td>
<font size="5"><b>{{ Port }}</b></font>
</td>
<td>
<font size="5"><b>{{ IsConnect }}</b></font>
</td>
</tr>
</template>