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 0217ddb1
authored
May 21, 2026
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat(store/app): 为开发环境添加跳过企业微信认证直接显示窗口的快捷逻辑
该改动使非生产环境提前返回,跳过corpId相关的存储逻辑,提升本地开发效率
1 parent
1bc5626d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
src/store/modules/app.js
src/store/modules/app.js
View file @
0217ddb
...
...
@@ -8,6 +8,7 @@ const state = {
lastPath
:
''
}
import
router
from
'@/router'
const
IS_PROD
=
[
'production'
,
'prod'
].
includes
(
process
.
env
.
VUE_APP_ENV
)
const
mutations
=
{
SET_PAGE_META
(
state
,
meta
)
{
...
...
@@ -78,6 +79,10 @@ const actions = {
if
(
phone
)
util
.
setLocalStorage
(
'ww_params_phone'
,
phone
)
if
(
name
)
util
.
setLocalStorage
(
'ww_params_name'
,
name
)
dispatch
(
'registerHttp'
)
if
(
!
IS_PROD
)
{
state
.
showWindow
=
true
return
}
if
(
corpId
)
{
let
ww_storage_info
=
{}
ww_storage_info
.
corpId
=
corpId
...
...
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