Browse Source

no message

feature/feature-compatible
fengchengzhi 7 years ago
parent
commit
86848762ef
1 changed files with 2 additions and 2 deletions
  1. 4
      src/view/put-money.vue

4
src/view/put-money.vue

@ -99,9 +99,9 @@
}, },
// //
getParam(name) { getParam(name) {
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
this.$vux.toast.text(reg,'middle')
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
var r = window.location.search.substr(1).match(reg); var r = window.location.search.substr(1).match(reg);
this.$vux.toast.text(window.location.search,'middle')
// this.$vux.toast.text(r,'middle') // this.$vux.toast.text(r,'middle')
if (r != null) return unescape(r[2]); if (r != null) return unescape(r[2]);
return null; return null;

Loading…
Cancel
Save