Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
supervise-wecom
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a29122db
authored
May 21, 2026
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat(store/app): 添加开发环境跳过企微登陆的逻辑
方便本地开发时简化登录流程,无需实际进行企微授权
1 parent
0217ddb1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
src/store/modules/app.js
src/store/modules/app.js
View file @
a29122d
...
@@ -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
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment