This commit is contained in:
Frank.R.Wu
2021-06-16 23:42:41 +08:00
parent 4532c905e6
commit b6bfcc8ca1
3 changed files with 3 additions and 3 deletions

View File

@@ -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) {

View File

@@ -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) {