Commit a29122db by chenwq

feat(store/app): 添加开发环境跳过企微登陆的逻辑

方便本地开发时简化登录流程,无需实际进行企微授权
1 parent 0217ddb1
...@@ -79,6 +79,9 @@ const actions = { ...@@ -79,6 +79,9 @@ const actions = {
if (phone) util.setLocalStorage('ww_params_phone', phone) if (phone) util.setLocalStorage('ww_params_phone', phone)
if (name) util.setLocalStorage('ww_params_name', name) if (name) util.setLocalStorage('ww_params_name', name)
dispatch('registerHttp') dispatch('registerHttp')
/**
* 开发环境,跳过企微登陆
*/
if (!IS_PROD) { if (!IS_PROD) {
state.showWindow = true state.showWindow = true
return return
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!