mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-08-13 23:20:12 +08:00
Fixed error with instance for dictionary based on new implementation of gRPC access (#500)
This commit is contained in:
parent
d24666370f
commit
303baee821
@ -45,8 +45,8 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@adempiere/grpc-access-client": "^1.2.1",
|
"@adempiere/grpc-access-client": "^1.2.1",
|
||||||
"@adempiere/grpc-data-client": "^2.3.4",
|
"@adempiere/grpc-data-client": "^2.3.6",
|
||||||
"@adempiere/grpc-dictionary-client": "^1.4.1",
|
"@adempiere/grpc-dictionary-client": "^1.4.2",
|
||||||
"@adempiere/grpc-enrollment-client": "^1.1.0",
|
"@adempiere/grpc-enrollment-client": "^1.1.0",
|
||||||
"@adempiere/grpc-pos-client": "^1.2.0",
|
"@adempiere/grpc-pos-client": "^1.2.0",
|
||||||
"axios": "0.19.2",
|
"axios": "0.19.2",
|
||||||
|
@ -34,11 +34,11 @@ export const DictionaryInstance = () => {
|
|||||||
const { getLanguage } = require('@/lang/index')
|
const { getLanguage } = require('@/lang/index')
|
||||||
const { getToken } = require('@/utils/auth')
|
const { getToken } = require('@/utils/auth')
|
||||||
|
|
||||||
return new Dictionary(
|
return new Dictionary({
|
||||||
DICTIONARY_ADDRESS,
|
host: DICTIONARY_ADDRESS,
|
||||||
getToken(),
|
sessionUuid: getToken(),
|
||||||
getLanguage() || 'en_US'
|
language: getLanguage() || 'en_US'
|
||||||
)
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
// Instance for connection Enrollment
|
// Instance for connection Enrollment
|
||||||
|
Loading…
x
Reference in New Issue
Block a user