Skip to content

Commit ea60ed7

Browse files
committed
remove webank watermaker.
1 parent 80755cf commit ea60ed7

File tree

2 files changed

+0
-20
lines changed

2 files changed

+0
-20
lines changed

webapp/app/app.tsx

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,6 @@ import createRoutes from './routes'
8989

9090
import 'default-passive-events'
9191

92-
import webankUtil from '@webank/we-utils';
93-
9492
const initialState = {}
9593
const store = configureStore(initialState, hashHistory)
9694
const MOUNT_NODE = document.getElementById('app')
@@ -109,13 +107,6 @@ const rootRoute = {
109107
}
110108
}
111109
}
112-
const { username } = JSON.parse(localStorage.getItem('baseInfo') || '{}');
113-
if(window.top === window.self && username) {
114-
webankUtil.createWatermark({
115-
content: username,
116-
fillStyle: 'rgba(184, 184, 184, 0.4)',
117-
})
118-
}
119110

120111
const render = (messages) => {
121112
ReactDOM.render(

webapp/share/app.tsx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,6 @@ import '../app/assets/js/china.js'
8686
import { DEFAULT_ECHARTS_THEME } from 'app/globalConstants'
8787
echarts.registerTheme('default', DEFAULT_ECHARTS_THEME)
8888

89-
import webankUtil from '@webank/we-utils';
90-
9189
const initialState = {}
9290
const store = configureStore(initialState, hashHistory)
9391
const MOUNT_NODE = document.getElementById('app')
@@ -106,15 +104,6 @@ const rootRoute = {
106104
}
107105
}
108106
}
109-
110-
const { username } = JSON.parse(localStorage.getItem('baseInfo') || '{}');
111-
if(window.top === window.self && username) {
112-
webankUtil.createWatermark({
113-
content: username,
114-
fillStyle: 'rgba(184, 184, 184, 0.4)',
115-
})
116-
}
117-
118107
const render = (messages) => {
119108
ReactDOM.render(
120109
<Provider store={store}>

0 commit comments

Comments
 (0)