撤回提交->目前存在很多问题

This commit is contained in:
xuwenbo
2020-09-04 17:44:22 +08:00
parent 3289e30dad
commit 5800da20d2
29 changed files with 1032 additions and 3450 deletions

View File

@ -62,10 +62,7 @@ export function isType(arg, type) {
}
export function isWeixin() {
if(navigator&&navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1){
return true
}
return false
return navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1;
}
export function parseQuery() {
@ -185,11 +182,13 @@ export const login = () => {
// } else {
// // wechat().then(() => oAuth().then((code) => {
// // // const { code } = parseQuery()
// // debugger
// // auth(code)
// // .then(() => {
// // // location.replace(
// // // decodeURIComponent(decodeURIComponent(this.$route.params.url))
// // // );
// // debugger
// // location.href = decodeURIComponent(
// // decodeURIComponent(this.$route.params.url)
// // );