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