uni-app H5 如何取得get的参数值

Posted Q神

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了uni-app H5 如何取得get的参数值相关的知识,希望对你有一定的参考价值。


    onLoad(option) 
_that = this;
uni.showLoading(
title:支付中...,
mask:true
);

// var num = getUrlParam(num);
console.log(option.num);

​http://192.168.1.109:8081/h5/#/pages/shop_cart/paystate?num=1231​

uni-app

 

 

以上是关于uni-app H5 如何取得get的参数值的主要内容,如果未能解决你的问题,请参考以下文章