<template>
	<view class="content">
		<button type="primary" @click="connectUSB()">初始化</button>
		<button type="primary" @click="openUSB()" style="margin-top: 10px;">打开usb</button>
	</view>
</template>

<script>
	import linkUSB from '@/mixins/linkUSB.js'
	export default {
		mixins: [linkUSB],
		data() {
			return {

			}
		},
		mounted() {
			this.connectUSB()
		},
		methods: {
			
		}
	}
</script>

<style>
	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
</style>