mirror of
https://gitee.com/wonderful-code/buildadmin
synced 2024-11-23 07:40:18 +00:00
refactor(lang):语言包整理
This commit is contained in:
parent
181a5560ac
commit
cdc32f8361
@ -44,4 +44,5 @@ export default {
|
|||||||
unknown: 'Unknown',
|
unknown: 'Unknown',
|
||||||
weigh: 'weigh',
|
weigh: 'weigh',
|
||||||
'No route found to jump~': 'Failed to find a jump route.',
|
'No route found to jump~': 'Failed to find a jump route.',
|
||||||
|
'This is a deliberate error thrown to prevent a hot update of Vite': 'This is a deliberate error thrown to prevent a hot update of Vite',
|
||||||
}
|
}
|
||||||
|
@ -44,4 +44,5 @@ export default {
|
|||||||
unknown: '未知',
|
unknown: '未知',
|
||||||
weigh: '权重',
|
weigh: '权重',
|
||||||
'No route found to jump~': '没有找到可以跳转的路由~',
|
'No route found to jump~': '没有找到可以跳转的路由~',
|
||||||
|
'This is a deliberate error thrown to prevent a hot update of Vite': '这是为了防止Vite的热更新而有意抛出的错误',
|
||||||
}
|
}
|
||||||
|
@ -6,7 +6,6 @@ export default {
|
|||||||
'env require-dev': 'Composer-dev',
|
'env require-dev': 'Composer-dev',
|
||||||
'env dependencies': 'NPM',
|
'env dependencies': 'NPM',
|
||||||
'env devDependencies': 'NPM-dev',
|
'env devDependencies': 'NPM-dev',
|
||||||
'This is a deliberate error thrown to prevent a hot update of Vite': 'This is a deliberate error thrown to prevent a hot update of Vite',
|
|
||||||
// user
|
// user
|
||||||
'Member information': 'Member information',
|
'Member information': 'Member information',
|
||||||
'My module': 'My module',
|
'My module': 'My module',
|
||||||
|
@ -6,7 +6,6 @@ export default {
|
|||||||
'env require-dev': '后端开发环境依赖(composer)',
|
'env require-dev': '后端开发环境依赖(composer)',
|
||||||
'env dependencies': '前端依赖(NPM)',
|
'env dependencies': '前端依赖(NPM)',
|
||||||
'env devDependencies': '前端开发环境依赖(NPM)',
|
'env devDependencies': '前端开发环境依赖(NPM)',
|
||||||
'This is a deliberate error thrown to prevent a hot update of Vite': '这是为了防止Vite的热更新而有意抛出的错误',
|
|
||||||
// user
|
// user
|
||||||
'Member information': '会员信息',
|
'Member information': '会员信息',
|
||||||
'My module': '我的模块',
|
'My module': '我的模块',
|
||||||
|
@ -25,13 +25,13 @@ onMounted(() => {
|
|||||||
loadData()
|
loadData()
|
||||||
if (import.meta.hot) {
|
if (import.meta.hot) {
|
||||||
import.meta.hot.on('vite:beforeFullReload', () => {
|
import.meta.hot.on('vite:beforeFullReload', () => {
|
||||||
if (state.common.disableHmr) throw t('module.This is a deliberate error thrown to prevent a hot update of Vite')
|
if (state.common.disableHmr) throw t('This is a deliberate error thrown to prevent a hot update of Vite')
|
||||||
})
|
})
|
||||||
import.meta.hot.on('vite:beforeUpdate', () => {
|
import.meta.hot.on('vite:beforeUpdate', () => {
|
||||||
if (state.common.disableHmr) throw t('module.This is a deliberate error thrown to prevent a hot update of Vite')
|
if (state.common.disableHmr) throw t('This is a deliberate error thrown to prevent a hot update of Vite')
|
||||||
})
|
})
|
||||||
import.meta.hot.on('vite:beforePrune', () => {
|
import.meta.hot.on('vite:beforePrune', () => {
|
||||||
if (state.common.disableHmr) throw t('module.This is a deliberate error thrown to prevent a hot update of Vite')
|
if (state.common.disableHmr) throw t('This is a deliberate error thrown to prevent a hot update of Vite')
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user