早期H5版本存在问题,现在只需要把HX升级到最新版本(2.2)以上即可

main.js 文件

Vue.mixin({
data(){
return {
xxx:'test'
}
},
onLoad(){

},
onShow(){
	
},

})