Compare commits
No commits in common. "14d89110a40616a217ff1bc742acdd908262df11" and "46230f3bcbba24e1f5177ae8a4685b4c34abdf5b" have entirely different histories.
14d89110a4
...
46230f3bcb
|
@ -222,7 +222,6 @@
|
||||||
// 是否扫物业二维码
|
// 是否扫物业二维码
|
||||||
isProperty() {
|
isProperty() {
|
||||||
const is_property = this.$route.query.isProperty || false
|
const is_property = this.$route.query.isProperty || false
|
||||||
console.log('is_property', is_property)
|
|
||||||
if(parseInt(is_property) === 1){
|
if(parseInt(is_property) === 1){
|
||||||
this.$store.commit("SET_IS_PROPERTY", !!is_property)
|
this.$store.commit("SET_IS_PROPERTY", !!is_property)
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,9 +39,7 @@ export function getWeChatOpenId(code) {
|
||||||
|
|
||||||
// 获取租户信息
|
// 获取租户信息
|
||||||
export function fetchTenantInfo(id) {
|
export function fetchTenantInfo(id) {
|
||||||
return request.get('tenant/get?id=' + id, {}, {
|
return request.get('tenant/get?id=' + id, {});
|
||||||
noAuth: true
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -12,12 +12,8 @@ const whiteListPage=['pages/users/privacy/index']
|
||||||
|
|
||||||
function prePage(){
|
function prePage(){
|
||||||
let pages = getCurrentPages();
|
let pages = getCurrentPages();
|
||||||
if(pages.length > 0){
|
|
||||||
let prePage = pages[pages.length - 1];
|
let prePage = pages[pages.length - 1];
|
||||||
return prePage.route;
|
return prePage.route;
|
||||||
} else {
|
|
||||||
return ''
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export const toLogin = Debounce(_toLogin,800)
|
export const toLogin = Debounce(_toLogin,800)
|
||||||
|
|
Loading…
Reference in New Issue