Merge remote-tracking branch 'origin/test' into test

pull/16/head^2
tangqian 2023-06-08 16:44:27 +08:00
commit 956f0cc445
3 changed files with 10 additions and 3 deletions

View File

@ -222,6 +222,7 @@
// //
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)
} }

View File

@ -39,7 +39,9 @@ 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
});
} }
/** /**

View File

@ -12,8 +12,12 @@ 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)