You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
536 B
33 lines
536 B
<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>
|