diff --git a/package.json b/package.json index dc37833..a6e080b 100644 --- a/package.json +++ b/package.json @@ -61,8 +61,8 @@ "react": "^18.0.0", "react-dom": "^18.0.0", "react-redux": "^9.0.3", - "taro-ui": "^3.2.0", - "taro-react-echarts": "^1.2.2" + "taro-react-echarts": "^1.2.2", + "taro-ui": "^3.2.0" }, "devDependencies": { "@babel/core": "^7.8.0", diff --git a/src/components/bluetoot/device-connection-popup/device-connection-popup.tsx b/src/components/bluetoot/device-connection-popup/device-connection-popup.tsx index 3dbae7b..0057e32 100644 --- a/src/components/bluetoot/device-connection-popup/device-connection-popup.tsx +++ b/src/components/bluetoot/device-connection-popup/device-connection-popup.tsx @@ -149,7 +149,7 @@ export default class DeviceConnectPopup extends Component { )} - + {/* {connectionSuccess ? ( @@ -175,7 +175,7 @@ export default class DeviceConnectPopup extends Component { )} - + */} )} - {data.length > 1 && ( + {data.length > 1 && current > 0 && ( - - ) : ( - - )} + )} {data.length > 1 && current === 0 && ( - )} - {data.length > 1 && ( + {data.length > 1 && current > 0 && ( - - + 跳过 >