|
|
@ -5,13 +5,15 @@ export default { |
|
|
|
clientHeight: document.documentElement.clientHeight, |
|
|
|
size: 'medium', |
|
|
|
resolution: 'medium', |
|
|
|
env: 'dev' |
|
|
|
env: 'dev', |
|
|
|
iframeHeight:120 |
|
|
|
}, |
|
|
|
getters: { |
|
|
|
clientHeight: (state) => state.clientHeight, |
|
|
|
size: (state) => state.size, |
|
|
|
resolution: (state) => state.resolution, |
|
|
|
env: (state) => state.env |
|
|
|
env: (state) => state.env, |
|
|
|
iframeHeight: (state) => state.iframeHeight |
|
|
|
}, |
|
|
|
mutations: { |
|
|
|
[type.client_height](state, payload) { |
|
|
|