|
|
|
|
@ -847,7 +847,14 @@ class Index extends Component<any, any> {
|
|
|
|
|
if (platform === "devtools") {
|
|
|
|
|
setStorageSync("instrument_detail", item);
|
|
|
|
|
this.setState({ connectInstrument: item });
|
|
|
|
|
if (item.type === 1) {
|
|
|
|
|
//非IOT
|
|
|
|
|
setTimeout(() => {
|
|
|
|
|
go("/instrument/pages/instrumentClickinUpload/index");
|
|
|
|
|
}, 10);
|
|
|
|
|
} else {
|
|
|
|
|
setTimeout(() => this.goIot());
|
|
|
|
|
}
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ -875,7 +882,7 @@ class Index extends Component<any, any> {
|
|
|
|
|
if (this.state.connectInstrument.type === 1) {
|
|
|
|
|
//非IOT
|
|
|
|
|
setTimeout(() => {
|
|
|
|
|
go("/pages/instrumentClickinUpload/index");
|
|
|
|
|
go("/instrument/pages/instrumentClickinUpload/index");
|
|
|
|
|
}, 10);
|
|
|
|
|
} else {
|
|
|
|
|
Taro.getSystemInfo({
|
|
|
|
|
|