如图所示,红色区域我用得是
var sub = plus.webview.create('LocationAndType.html','LocationAndType',{width:'100%',top:'120px',height:'440px'},{});
sub.show();
蓝色区域我用是localStorage.setItem('location','全部区域');进行传值
但是如果在浏览器端打开的话,没有plus环境,用js原生应该怎么写...
用vue吧
如图所示,红色区域我用得是
var sub = plus.webview.create('LocationAndType.html','LocationAndType',{width:'100%',top:'120px',height:'440px'},{});
sub.show();
蓝色区域我用是localStorage.setItem('location','全部区域');进行传值
但是如果在浏览器端打开的话,没有plus环境,用js原生应该怎么写...
用vue吧