背景壁纸增加自定义API,优化输入提示

This commit is contained in:
qiaoyun680
2025-05-14 20:52:10 +08:00
parent c257e11ee3
commit f22aca0c5d
4 changed files with 5 additions and 1 deletions

View File

@@ -1074,6 +1074,8 @@ export default {
mb: 'MB',
hour: 'hour',
customizeWallpaperApi: 'Customize Wallpaper Api',
customizeWallpaperApiHint:
'It will get the image file extension format images that are allowed in all the settings in the content returned by the API.',
customizeWallpaperApiRequired: 'Required field; please enter Wallpaper API',
},
site: {

View File

@@ -1065,6 +1065,7 @@ export default {
mb: 'MB',
hour: '小时',
customizeWallpaperApi: '自定义壁纸API',
customizeWallpaperApiHint: '会获取API返回内容中所有设置中允许的图片文件后缀格式图片',
customizeWallpaperApiRequired: '必填项请输入自定义壁纸API',
},
site: {

View File

@@ -1067,6 +1067,7 @@ export default {
mb: 'MB',
hour: '小時',
customizeWallpaperApi: '自定義壁紙API',
customizeWallpaperApiHint: '會獲取 API 返回內容中所有設置中允許的圖片文件後綴格式圖片',
customizeWallpaperApiRequired: '必填項請輸出自定義壁紙API',
},
site: {

View File

@@ -427,7 +427,7 @@ onDeactivated(() => {
<VTextField
v-model="SystemSettings.Basic.CUSTOMIZE_WALLPAPER_API_URL"
:label="t('setting.system.customizeWallpaperApi')"
:hint="t('setting.system.customizeWallpaperApi')"
:hint="t('setting.system.customizeWallpaperApiHint')"
:placeholder="t('setting.system.customizeWallpaperApi')"
persistent-hint
:rules="[v => !!v || t('setting.system.customizeWallpaperApiRequired')]"