小程序form静态页面跳转
wxml:
<form bindsubmit=’formSubmit’> <button type=’submit’ form-type=’submit’>登录</button> </form>
js:
formSubmit:function(e){ wx.redirectTo({ url: “/page/index/index”, }) }
wxml:
<form bindsubmit=’formSubmit’> <button type=’submit’ form-type=’submit’>登录</button> </form>
js:
formSubmit:function(e){ wx.redirectTo({ url: “/page/index/index”, }) }