背景壁纸增加自定义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
+2
View File
@@ -1074,6 +1074,8 @@ export default {
mb: 'MB', mb: 'MB',
hour: 'hour', hour: 'hour',
customizeWallpaperApi: 'Customize Wallpaper Api', 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', customizeWallpaperApiRequired: 'Required field; please enter Wallpaper API',
}, },
site: { site: {
+1
View File
@@ -1065,6 +1065,7 @@ export default {
mb: 'MB', mb: 'MB',
hour: '小时', hour: '小时',
customizeWallpaperApi: '自定义壁纸API', customizeWallpaperApi: '自定义壁纸API',
customizeWallpaperApiHint: '会获取API返回内容中所有设置中允许的图片文件后缀格式图片',
customizeWallpaperApiRequired: '必填项;请输入自定义壁纸API', customizeWallpaperApiRequired: '必填项;请输入自定义壁纸API',
}, },
site: { site: {
+1
View File
@@ -1067,6 +1067,7 @@ export default {
mb: 'MB', mb: 'MB',
hour: '小時', hour: '小時',
customizeWallpaperApi: '自定義壁紙API', customizeWallpaperApi: '自定義壁紙API',
customizeWallpaperApiHint: '會獲取 API 返回內容中所有設置中允許的圖片文件後綴格式圖片',
customizeWallpaperApiRequired: '必填項;請輸出自定義壁紙API', customizeWallpaperApiRequired: '必填項;請輸出自定義壁紙API',
}, },
site: { site: {
+1 -1
View File
@@ -427,7 +427,7 @@ onDeactivated(() => {
<VTextField <VTextField
v-model="SystemSettings.Basic.CUSTOMIZE_WALLPAPER_API_URL" v-model="SystemSettings.Basic.CUSTOMIZE_WALLPAPER_API_URL"
:label="t('setting.system.customizeWallpaperApi')" :label="t('setting.system.customizeWallpaperApi')"
:hint="t('setting.system.customizeWallpaperApi')" :hint="t('setting.system.customizeWallpaperApiHint')"
:placeholder="t('setting.system.customizeWallpaperApi')" :placeholder="t('setting.system.customizeWallpaperApi')"
persistent-hint persistent-hint
:rules="[v => !!v || t('setting.system.customizeWallpaperApiRequired')]" :rules="[v => !!v || t('setting.system.customizeWallpaperApiRequired')]"