|
|
@@ -23,14 +23,6 @@ function loadBrandComponent({ commit }, params = {}) {
|
|
|
})
|
|
|
}
|
|
|
|
|
|
-// 获取币别信息
|
|
|
-function loadCurrencyData ({commit}) {
|
|
|
- return axios.get('/basic/enterprise/currency')
|
|
|
- .then(res => {
|
|
|
- commit('option/SET_CURRENCY', res.data)
|
|
|
- })
|
|
|
-}
|
|
|
-
|
|
|
export const actions = {
|
|
|
// 全局服务初始化
|
|
|
nuxtServerInit(store, { params, route, isDev, req }) {
|
|
|
@@ -86,9 +78,6 @@ export const actions = {
|
|
|
}
|
|
|
}
|
|
|
commit('option/REQUEST_USER_INFO_SUCCESS', response.data)
|
|
|
- return Promise.all([
|
|
|
- loadCurrencyData({commit})
|
|
|
- ])
|
|
|
}, err => {
|
|
|
commit('option/REQUEST_USER_INFO_FAILURE', err)
|
|
|
})
|