Просмотр исходного кода

mobileUI插件变更js里WadeMobile为IpuMobile

leijie лет назад: 5
Родитель
Сommit
04052d88f9
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      ipu-plugin-basic/src/main/java/com/ai/ipu/mobile/plugin/MobileUI.java

+ 2 - 2
ipu-plugin-basic/src/main/java/com/ai/ipu/mobile/plugin/MobileUI.java

511
									if(preView instanceof IpuWebView){
511
									if(preView instanceof IpuWebView){
512
										String result = encodeForJs(data);
512
										String result = encodeForJs(data);
513
										((IpuWebView) preView).executeJs(
513
										((IpuWebView) preView).executeJs(
514
												"WadeMobile.backevent.backCall('" + result + "');"
514
												"IpuMobile.backevent.backCall('" + result + "');"
515
												);
515
												);
516
									}
516
									}
517
								}
517
								}
529
								if(preView instanceof WebView){
529
								if(preView instanceof WebView){
530
									String result = encodeForJs(data);
530
									String result = encodeForJs(data);
531
									((IpuWebView) preView).executeJs(
531
									((IpuWebView) preView).executeJs(
532
											"WadeMobile.backevent.backCall('" + result + "');"
532
											"IpuMobile.backevent.backCall('" + result + "');"
533
											); 
533
											); 
534
								}
534
								}
535
							}
535
							}