跳到主要内容

mgtv.isLogin()

信息

框架版本 0.1.1 开始支持。

检查用户是否已经登录。

返回值

类型说明
boolean当前用户是否已经登录

示例代码

const isLogin = mgtv.isLogin();