mirror of
https://github.com/keven1024/015.git
synced 2026-06-08 05:14:33 +00:00
refactor(front): update download and view options in FileShareHandle and TextShareHandle components to use new localization keys for improved flexibility
This commit is contained in:
@@ -21,11 +21,11 @@ const props = defineProps<{
|
||||
name="download_nums"
|
||||
:label="t('fileshare.downloadNums')"
|
||||
:options="[
|
||||
{ label: t('fileshare.downloadOptions.1time'), value: 1 },
|
||||
{ label: t('fileshare.downloadOptions.2times'), value: 2 },
|
||||
{ label: t('fileshare.downloadOptions.3times'), value: 3 },
|
||||
{ label: t('fileshare.downloadOptions.5times'), value: 5 },
|
||||
{ label: t('fileshare.downloadOptions.10times'), value: 10 },
|
||||
{ label: t('fileshare.downloadOptions.xdownload', 1), value: 1 },
|
||||
{ label: t('fileshare.downloadOptions.xdownload', 2), value: 2 },
|
||||
{ label: t('fileshare.downloadOptions.xdownload', 3), value: 3 },
|
||||
{ label: t('fileshare.downloadOptions.xdownload', 5), value: 5 },
|
||||
{ label: t('fileshare.downloadOptions.xdownload', 10), value: 10 },
|
||||
]"
|
||||
/>
|
||||
{{ t('fileshare.or') }}
|
||||
|
||||
@@ -21,11 +21,11 @@ const props = defineProps<{
|
||||
name="download_nums"
|
||||
:label="t('textshare.viewNums')"
|
||||
:options="[
|
||||
{ label: t('textshare.viewOptions.1time'), value: 1 },
|
||||
{ label: t('textshare.viewOptions.2times'), value: 2 },
|
||||
{ label: t('textshare.viewOptions.3times'), value: 3 },
|
||||
{ label: t('textshare.viewOptions.5times'), value: 5 },
|
||||
{ label: t('textshare.viewOptions.10times'), value: 10 },
|
||||
{ label: t('textshare.viewOptions.xview', 1), value: 1 },
|
||||
{ label: t('textshare.viewOptions.xview', 2), value: 2 },
|
||||
{ label: t('textshare.viewOptions.xview', 3), value: 3 },
|
||||
{ label: t('textshare.viewOptions.xview', 5), value: 5 },
|
||||
{ label: t('textshare.viewOptions.xview', 10), value: 10 },
|
||||
]"
|
||||
/>
|
||||
{{ t('textshare.or') }}
|
||||
|
||||
Reference in New Issue
Block a user