fix bug translation
This commit is contained in:
@@ -17,6 +17,8 @@ const appName = window.document.getElementsByTagName('title')[0]?.innerText || '
|
|||||||
const { $token } = JSON.parse(document.getElementById('app').dataset.page).props
|
const { $token } = JSON.parse(document.getElementById('app').dataset.page).props
|
||||||
axios.defaults.headers.common['Authorization'] = `Bearer ${$token}`
|
axios.defaults.headers.common['Authorization'] = `Bearer ${$token}`
|
||||||
|
|
||||||
|
commons.getAllDefinedTransaction()
|
||||||
|
|
||||||
Object.keys(commons).forEach(key => Object.defineProperty(window, key, {
|
Object.keys(commons).forEach(key => Object.defineProperty(window, key, {
|
||||||
value: commons[key],
|
value: commons[key],
|
||||||
}))
|
}))
|
||||||
|
|||||||
Reference in New Issue
Block a user