Commit 473fc52a by hank

bug

parent 42d606af
...@@ -57,26 +57,26 @@ export default { ...@@ -57,26 +57,26 @@ export default {
} }
}, },
mounted() { mounted() {
var tar_userinfo = localStorage.getItem('tar_userinfo'); // var tar_userinfo = localStorage.getItem('tar_userinfo');
console.log(tar) // console.log(tar)
if (tar_userinfo) { // if (tar_userinfo) {
var tar_openid = localStorage.getItem('tar-uuid-129831'); // var tar_openid = localStorage.getItem('tar-uuid-129831');
tar.init({ // tar.init({
tar_debug: !1, // tar_debug: !1,
tar_token: "3fcfe0ef160eb53266161898524e1708", // tar_token: "3fcfe0ef160eb53266161898524e1708",
tar_tid: "129831", // tar_tid: "129831",
tar_userinfo: [{ // tar_userinfo: [{
openid: tar_openid }] // openid: tar_openid }]
}) // })
} else { // } else {
tar.init({ // tar.init({
tar_debug: !1, // tar_debug: !1,
tar_token: "3fcfe0ef160eb53266161898524e1708", // tar_token: "3fcfe0ef160eb53266161898524e1708",
tar_tid: "129831", // tar_tid: "129831",
tar_scope: "snsapi_base", // tar_scope: "snsapi_base",
tar_appid: "wxfa065f3046ad9c21" // tar_appid: "wxfa065f3046ad9c21"
}) // })
} // }
}, },
methods: { methods: {
getQuery(key) { getQuery(key) {
......
...@@ -62,25 +62,25 @@ export default { ...@@ -62,25 +62,25 @@ export default {
}, },
mounted() { mounted() {
var tar_userinfo = localStorage.getItem('tar_userinfo'); // var tar_userinfo = localStorage.getItem('tar_userinfo');
if (tar_userinfo) { // if (tar_userinfo) {
var tar_openid = localStorage.getItem('tar-uuid-129831'); // var tar_openid = localStorage.getItem('tar-uuid-129831');
tar.init({ // tar.init({
tar_debug: !1, // tar_debug: !1,
tar_token: "3fcfe0ef160eb53266161898524e1708", // tar_token: "3fcfe0ef160eb53266161898524e1708",
tar_tid: "129831", // tar_tid: "129831",
tar_userinfo: [{ // tar_userinfo: [{
openid: tar_openid }] // openid: tar_openid }]
}) // })
} else { // } else {
tar.init({ // tar.init({
tar_debug: !1, // tar_debug: !1,
tar_token: "3fcfe0ef160eb53266161898524e1708", // tar_token: "3fcfe0ef160eb53266161898524e1708",
tar_tid: "129831", // tar_tid: "129831",
tar_scope: "snsapi_base", // tar_scope: "snsapi_base",
tar_appid: "wxfa065f3046ad9c21" // tar_appid: "wxfa065f3046ad9c21"
}) // })
} // }
}, },
methods: { methods: {
getQuery(key) { getQuery(key) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment