fix: urlparam undefined error
This commit is contained in:
@@ -193,9 +193,11 @@ var initGlobal = function (urlParams) {
|
||||
global.isBaaS = true
|
||||
primaryColor = '#08263a'
|
||||
}
|
||||
if (urlParams){
|
||||
global.urlparam = urlParams;
|
||||
}
|
||||
if (urlParams && urlParams.keys) {
|
||||
global.urlparam = urlParams;
|
||||
global.sm2Key = urlParams.keys
|
||||
global.sm2Key = urlParams.keys;
|
||||
} else {
|
||||
global.sm2Key = localStorage.getItem("PrivKey");
|
||||
if (!global.sm2Key || global.sm2Key.length < 100) {
|
||||
|
||||
Reference in New Issue
Block a user