Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivWeb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
CivWeb
Commits
dc11cf7b
Commit
dc11cf7b
authored
3 years ago
by
邓晓峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: clear debugger
parent
d5e046ae
master
dev
devNew
feat/layout-flat
patch-1
soundai
test
zhongyi
No related merge requests found
Pipeline
#41299
skipped with stages
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
5 deletions
+1
-5
app.js
src/app.js
+0
-3
reducer.js
src/containers/App/store/reducer.js
+1
-1
micro.js
src/micro.js
+0
-1
No files found.
src/app.js
View file @
dc11cf7b
...
@@ -14,12 +14,9 @@ import { ConfigProvider} from 'antd';
...
@@ -14,12 +14,9 @@ import { ConfigProvider} from 'antd';
import
{
Storeage
}
from
'kit_utils'
;
import
{
Storeage
}
from
'kit_utils'
;
import
{
history
}
from
'@wisdom-utils/runtime'
;
import
{
history
}
from
'@wisdom-utils/runtime'
;
import
{
actionCreators
}
from
'./containers/App/store'
;
import
{
actionCreators
}
from
'./containers/App/store'
;
// import { initMicroApps } from './micro';
import
{
initGlobalConfig
}
from
'./initConfig'
import
{
initGlobalConfig
}
from
'./initConfig'
import
'./utils/event'
;
import
'./utils/event'
;
import
store
from
'./stores'
import
store
from
'./stores'
// import Cookies from 'js-cookie';
// eslint-disable-next-line no-restricted-globals
const
namespace
=
`__PANDA_STORE__
${
location
.
hostname
}
`
;
const
namespace
=
`__PANDA_STORE__
${
location
.
hostname
}
`
;
window
.
createStoreage
=
new
Storeage
(
namespace
);
window
.
createStoreage
=
new
Storeage
(
namespace
);
ConfigProvider
.
config
({
ConfigProvider
.
config
({
...
...
This diff is collapsed.
Click to expand it.
src/containers/App/store/reducer.js
View file @
dc11cf7b
...
@@ -76,7 +76,7 @@ export const initialState = fromJS({
...
@@ -76,7 +76,7 @@ export const initialState = fromJS({
const
appReducer
=
(
state
=
initialState
,
action
)
=>
{
const
appReducer
=
(
state
=
initialState
,
action
)
=>
{
switch
(
action
.
type
)
{
switch
(
action
.
type
)
{
case
GET_CONFIG
:
case
GET_CONFIG
:
debugger
// eslint-disable-next-line no-debugger
// eslint-disable-next-line no-debugger
// eslint-disable-next-line no-underscore-dangle
// eslint-disable-next-line no-underscore-dangle
window
.
__INITIAL_STATE__
=
Object
.
assign
(
window
.
__INITIAL_STATE__
=
Object
.
assign
(
...
...
This diff is collapsed.
Click to expand it.
src/micro.js
View file @
dc11cf7b
...
@@ -35,7 +35,6 @@ const MICRO_STATUS = {
...
@@ -35,7 +35,6 @@ const MICRO_STATUS = {
};
};
export
const
initMicroApps
=
()
=>
{
export
const
initMicroApps
=
()
=>
{
debugger
/* eslint-disable */
/* eslint-disable */
const
config
=
window
.
globalConfig
||
{};
const
config
=
window
.
globalConfig
||
{};
//createStoreage.get('globalConfig');
//createStoreage.get('globalConfig');
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment