From 730e825d3cd4fdb8a23ece151f3814d163d24591 Mon Sep 17 00:00:00 2001 From: laurieryayoi <14360417+laurieryayoi@users.noreply.github.com> Date: Thu, 10 Jan 2019 19:50:15 +0800 Subject: [PATCH] =?UTF-8?q?index=E9=82=80=E8=AF=B7=E7=A0=81=E5=AE=8C?= =?UTF-8?q?=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/views/material/index.tpl | 6 +++--- resources/views/material/user/invite.tpl | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/resources/views/material/index.tpl b/resources/views/material/index.tpl index 7bb16bbf..4324e975 100755 --- a/resources/views/material/index.tpl +++ b/resources/views/material/index.tpl @@ -513,9 +513,9 @@ const Register = { } }); }, - //dumplin:轮子1.js读取url参数 + //dumplin:轮子1.js读取url参数//nymph: 重拼字符串 getQueryVariable(variable) { - var query = window.location.search.substring(1); + var query = window.location.hash.substring(1).split("?")[1]; var vars = query.split("&"); for (var i=0;icode}"> +