准备合并

master
blak-kong 2 years ago
parent 6f952823a4
commit 9363bb5f99

@ -27,8 +27,8 @@ class App extends Component<PropsWithChildren> {
// 每次进入小程序,删除可能残留的同步状态 // 每次进入小程序,删除可能残留的同步状态
Taro.removeStorageSync("isSyncHistory"); Taro.removeStorageSync("isSyncHistory");
// go("/pages/instrument_clickin_upload/index"); // go("/instrument/pages/instrument_clickin_upload/index");
// go("/pages/instrument/intro"); // go("/instrument/pages/instrument/intro");
// Taro.switchTab({ // Taro.switchTab({
// url: "/pages/user/user", // url: "/pages/user/user",
// }); // });

@ -174,7 +174,7 @@ class Intro extends Component<any, any> {
if (this.state.connectInstrument.type === 1) { if (this.state.connectInstrument.type === 1) {
//非IOT //非IOT
setTimeout(() => { setTimeout(() => {
go("/pages/instrumentClickinUpload/index"); go("/instrument/pages/instrumentClickinUpload/index");
}, 10); }, 10);
} else { } else {
Taro.getSystemInfo({ Taro.getSystemInfo({

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

@ -464,10 +464,10 @@ export default class Recording extends Component<any, any> {
> >
<Image <Image
className="products_cover" className="products_cover"
src={require("@/img/test/1706692819894.jpg")} src={item.banner}
mode="aspectFit" mode="aspectFit"
></Image> ></Image>
<View className="products_title"></View> <View className="products_title">{item.name}</View>
</View> </View>
))} ))}
</ScrollView> </ScrollView>

Loading…
Cancel
Save