finish environment of http server and test successfully
This commit is contained in:
@@ -22,6 +22,8 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { client } from '@/client';
|
||||
|
||||
var bitstream = null;
|
||||
|
||||
function handleFileChange(event: Event): void {
|
||||
@@ -38,8 +40,10 @@ function handleFileChange(event: Event): void {
|
||||
console.log(bitstream);
|
||||
}
|
||||
|
||||
function uploadBitStream() {
|
||||
async function uploadBitStream() {
|
||||
const serverStatus = await client.api.status.query();
|
||||
|
||||
console.log(serverStatus)
|
||||
}
|
||||
|
||||
function checkFileType(file: File) {
|
||||
|
||||
Reference in New Issue
Block a user