fix
This commit is contained in:
parent
4532c905e6
commit
b6bfcc8ca1
@ -160,6 +160,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<script>
|
<script>
|
||||||
|
const isBaaS = true
|
||||||
var h = document.body.clientHeight
|
var h = document.body.clientHeight
|
||||||
- $("header").css("height").replace("px", "")
|
- $("header").css("height").replace("px", "")
|
||||||
|
|
||||||
|
@ -774,7 +774,7 @@ function connectNode() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function getRequestParameters() {
|
function getRequestParameters() {
|
||||||
if (location.href.indexOf("BaaSClient") !== -1) {
|
if (isBaaS) {
|
||||||
let params = location.href.replace(/[^#]*(#(\/)?|\?)/, '')
|
let params = location.href.replace(/[^#]*(#(\/)?|\?)/, '')
|
||||||
let url = location.href.replace(params, '')
|
let url = location.href.replace(params, '')
|
||||||
while (!params) {
|
while (!params) {
|
||||||
|
@ -189,8 +189,7 @@ function initGlobal(urlParams) {
|
|||||||
window.global = {};
|
window.global = {};
|
||||||
}
|
}
|
||||||
global.result = "";
|
global.result = "";
|
||||||
if (location.href.indexOf("BaaSClient") !== -1) {
|
if (isBaaS) {
|
||||||
global.isBaaS = true
|
|
||||||
primaryColor = '#08263a'
|
primaryColor = '#08263a'
|
||||||
}
|
}
|
||||||
if (urlParams) {
|
if (urlParams) {
|
||||||
|
Loading…
Reference in New Issue
Block a user