Commit 9817e29d authored by 周宏民's avatar 周宏民

fix: 还原

parent 41d78067
Pipeline #89853 passed with stages
......@@ -41,12 +41,12 @@ const Login = forwardRef((props, _ref) => {
const history = useHistory();
const [action, setAction] = useState(() => new LoginAction(Object.assign({}, props, { history }), setVisible, true));
let { ddCode } = props.global;
if (originType) {
Cookies.set('loginMode', LOGIN_WAY[LOGIN_DISPLAY.WeCom], {
expires: 5 * 60 * 1000,
path: '/',
});
}
// if (originType) {
// Cookies.set('loginMode', LOGIN_WAY[LOGIN_DISPLAY.WeCom], {
// expires: 5 * 60 * 1000,
// path: '/',
// });
// }
const loginMode = Cookies.get('loginMode') || null;
if (loginMode && loginMode === 'iotWechat') ddCode = null;
......
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