1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-08-10 20:39:48 +08:00

Fixed error with instance for dictionary based on new implementation of gRPC access (#500)

This commit is contained in:
Yamel Senih 2020-05-20 13:48:26 -04:00 committed by GitHub
parent d24666370f
commit 303baee821
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View File

@ -45,8 +45,8 @@
},
"dependencies": {
"@adempiere/grpc-access-client": "^1.2.1",
"@adempiere/grpc-data-client": "^2.3.4",
"@adempiere/grpc-dictionary-client": "^1.4.1",
"@adempiere/grpc-data-client": "^2.3.6",
"@adempiere/grpc-dictionary-client": "^1.4.2",
"@adempiere/grpc-enrollment-client": "^1.1.0",
"@adempiere/grpc-pos-client": "^1.2.0",
"axios": "0.19.2",

View File

@ -34,11 +34,11 @@ export const DictionaryInstance = () => {
const { getLanguage } = require('@/lang/index')
const { getToken } = require('@/utils/auth')
return new Dictionary(
DICTIONARY_ADDRESS,
getToken(),
getLanguage() || 'en_US'
)
return new Dictionary({
host: DICTIONARY_ADDRESS,
sessionUuid: getToken(),
language: getLanguage() || 'en_US'
})
}
// Instance for connection Enrollment