Commit 0128e118 authored by rockyl's avatar rockyl

完善登录逻辑

parent 9d83ea69
......@@ -106,7 +106,7 @@ export default class MainController extends ScillaComponent {
if (inWeiXin) {
if (callUpRegistH5Code) {
location.href = callUpRegistH5Code;
} if (requirelogin) {
} else if (requirelogin) {
requirelogin();
} else {
console.log('没有登录方案');
......
......@@ -4,7 +4,6 @@
"experimentalDecorators": true,
"removeComments": true,
"sourceMap": true,
"importHelpers": true,
"noImplicitAny": false,
"noEmitOnError": false,
"downlevelIteration": true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment