在老基础库下输入框输入时可能存在光标重设的问题。
6.写页面跳转时候传入动态参数,需要写成:url,如:<navigator url=”‘../test/main?id=’+id hover-class=”none””。
7.通过
this.$root.$mp.query进行获取小程序在 page onLoad 时候传递的 options。通过
this.$root.$mp.appOptions进行获取小程序在 app onLaunch/onShow 时候传递的 options。8.使用this.$root.$mp.query获取参数需要在monted中获取,在created中会报Cannot read property ‘query’ of undefined 。










