字符串拼接

 

  

phone(userMobile,userId){
uni.navigateTo({
url:'/pages/userCenter/changePhone/index?userMobile='+userMobile+'&userId='+userId
})
}

query是参数类型, 是直接拼
url ?xxx=xxx&xxx=xxx这种形式

success  作用域  使用箭头函数 或者或者就在前面提前定义一个别的对象 代替this

posted @ 2021-05-06 10:35  soda001  阅读(57)  评论(0)    收藏  举报