|
@@ -27,7 +27,9 @@ function onBridgeReady(params) {
|
|
|
}
|
|
|
|
|
|
export const wxPayJs = (params) => {
|
|
|
- params.url=window.location.href.split("#")[0]+"/#/master";
|
|
|
+ if(!params.url){
|
|
|
+ params.url=window.location.href.split("#")[0]+"/#/master";
|
|
|
+ }
|
|
|
|
|
|
if (typeof window.WeixinJSBridge === 'undefined') {
|
|
|
if (document.addEventListener) {
|