<template>
<div id="wrapper">
<div>
<span>串口信息查询</span>
<div
v-for="(item,index) in serialportLists"
:key="index"
>
<table border="1">
<tr>
<th>path</th>
<th>pnpId</th>
<th>friendlyName</th>
<th>locationId</th>
<th>manufacturer</th>
</tr>
<tr>
<td>{
{item.path}}</td>
<td>{
{item.pnpId}}</td>
<td>{
{item.friendlyName}}</td>
<td>{
{item.locationId}}</td>
<td>{
{item.manufacturer}}</td>
</tr>
</table>
</div>
</div>
<div>
<button @click="openPort">打开串口</button>
<button
Electron使用serialport实现串口交互通讯
最新推荐文章于 2026-04-30 10:29:10 发布


4558

被折叠的 条评论
为什么被折叠?



