-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
76 changed files
with
764 additions
and
307 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { watch } from 'vue'; | ||
import { useRouter } from 'vue-router'; | ||
import { useGlobSetting } from '../setting'; | ||
import { useI18n } from './useI18n'; | ||
import { setTitle } from '/@/utils/browser'; | ||
|
||
export function useTitle() { | ||
const { currentRoute } = useRouter(); | ||
const { t } = useI18n(); | ||
watch( | ||
() => currentRoute.value.path, | ||
() => { | ||
const globSetting = useGlobSetting(); | ||
setTitle(t(currentRoute.value.meta.title), globSetting.title); | ||
}, | ||
{ immediate: true, flush: 'post' } | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Share with menu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export default { | ||
login: 'Login', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export default { | ||
dashboard: 'Dashboard', | ||
welcome: 'Home', | ||
workbench: 'Workbench', | ||
analysis: 'Analysis', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export default { | ||
charts: 'Chart', | ||
map: 'Map', | ||
line: 'Line', | ||
pie: 'Pie', | ||
apexChart: 'ApexChart', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
export default { | ||
comp: 'Component', | ||
basic: 'Basic', | ||
transition: 'Animation', | ||
countTo: 'Count To', | ||
|
||
scroll: 'Scroll', | ||
scrollBasic: 'Basic', | ||
scrollAction: 'Scroll Function', | ||
virtualScroll: 'Virtual Scroll', | ||
|
||
modal: 'Modal', | ||
drawer: 'Drawer', | ||
desc: 'Desc', | ||
|
||
lazy: 'Lazy', | ||
lazyBasic: 'Basic', | ||
lazyTransition: 'Animation', | ||
|
||
verify: 'Verify', | ||
verifyDrag: 'Drag ', | ||
verifyRotate: 'Picture Restore', | ||
|
||
qrcode: 'QR code', | ||
strength: 'Password strength', | ||
upload: 'Upload', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
export default { | ||
editor: 'Editor', | ||
markdown: 'Markdown editor', | ||
|
||
tinymce: 'Rich text', | ||
tinymceBasic: 'Basic', | ||
tinymceForm: 'embedded form', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export default { | ||
excel: 'Excel', | ||
customExport: 'Select export format', | ||
jsonExport: 'JSON data export', | ||
arrayExport: 'Array data export', | ||
importExcel: 'Import', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
export default { | ||
feat: 'Page Function', | ||
icon: 'Icon', | ||
tabs: 'Tabs', | ||
contextMenu: 'Context Menu', | ||
download: 'Download', | ||
clickOutSide: 'ClickOutSide', | ||
imgPreview: 'Picture Preview', | ||
copy: 'Clipboard', | ||
msg: 'Message prompt', | ||
watermark: 'Watermark', | ||
fullScreen: 'Full Screen', | ||
errorLog: 'Error Log', | ||
tab: 'Tab with parameters', | ||
tab1: 'Tab with parameter 1', | ||
tab2: 'Tab with parameter 2', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
export default { | ||
form: 'Form', | ||
basic: 'Basic', | ||
useForm: 'useForm', | ||
refForm: 'RefForm', | ||
advancedForm: 'Shrinkable', | ||
ruleForm: 'Form validation', | ||
dynamicForm: 'Dynamic', | ||
customerForm: 'Custom', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export default { | ||
frame: 'External', | ||
antv: 'antVue doc (embedded)', | ||
doc: 'Project doc (embedded)', | ||
docExternal: 'Project doc (external)', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
export default { | ||
page: 'Page', | ||
|
||
form: 'Form', | ||
formBasic: 'Basic Form', | ||
formStep: 'Step Form', | ||
formHigh: 'Advanced Form', | ||
|
||
desc: 'Details', | ||
descBasic: 'Basic Details', | ||
descHigh: 'Advanced Details', | ||
|
||
result: 'Result', | ||
resultSuccess: 'Success', | ||
resultFail: 'Failed', | ||
|
||
account: 'Personal', | ||
accountCenter: 'Personal Center', | ||
accountSetting: 'Personal Settings', | ||
|
||
exception: 'Exception', | ||
netWorkError: 'Network Error', | ||
notData: 'No data', | ||
|
||
list: 'List page', | ||
listCard: 'Card list', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
export default { | ||
permission: 'Permission', | ||
|
||
front: 'front-end', | ||
frontPage: 'Page', | ||
frontBtn: 'Button', | ||
frontTestA: 'Test page A', | ||
frontTestB: 'Test page B', | ||
|
||
back: 'background', | ||
backPage: 'Page', | ||
backBtn: 'Button', | ||
}; |
Oops, something went wrong.