From 3c6b3aba7468f4b1c13226657928a695021f91a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=A1=E9=A3=8E?= <18012261618@126.com> Date: Fri, 8 Dec 2023 11:54:31 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E5=99=A8=E5=9B=BD=E9=99=85=E5=8C=96=E6=96=87=E6=A1=88=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=20(#239)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/lcap/usage.json | 34 ++++++++++++++++++++++------------ src/locale/lang/zh-CN.ts | 11 ++++++++--- src/pickerson/api.yaml | 8 +++++--- 3 files changed, 35 insertions(+), 18 deletions(-) diff --git a/scripts/lcap/usage.json b/scripts/lcap/usage.json index 6def664a2..7d713b677 100644 --- a/scripts/lcap/usage.json +++ b/scripts/lcap/usage.json @@ -5153,15 +5153,6 @@ "description": "用于标识数据列表的值", "group": "数据属性" }, - { - "name": "value", - "title": "值", - "type": "any", - "sync": true, - "model": true, - "group": "数据属性", - "description": "用于标识数据列表的值" - }, { "name": "value-field", "title": "值字段名", @@ -5180,6 +5171,15 @@ "description": "选项文本的字段名,可用于前端筛选时的匹配", "group": "数据属性" }, + { + "name": "value", + "title": "值", + "type": "any", + "sync": true, + "model": true, + "group": "数据属性", + "description": "用于标识数据列表的值" + }, { "name": "pageable", "title": "分页", @@ -8266,14 +8266,18 @@ "type": "number", "sync": true, "model": true, + "min": 0, + "max": 20, "group": "数据属性", "description": "用于标识评分的值" }, { "name": "count", "title": "图标总数", - "type": "numer | string", + "type": "number", "default": 5, + "min": 0, + "max": 20, "group": "数据属性", "description": "设置评分图标的总数" }, @@ -8318,7 +8322,7 @@ { "name": "size", "title": "图标大小", - "type": "numer", + "type": "number", "default": 20, "group": "样式属性", "description": "设置图标大小,单位为px。" @@ -8326,7 +8330,7 @@ { "name": "gutter", "title": "图标间距", - "type": "numer | string", + "type": "number | string", "default": 4, "group": "样式属性", "description": "设置图标间距,最小值为0。" @@ -9521,6 +9525,12 @@ } } ], + "methods": [ + { + "name": "reload", + "description": "重新加载数据" + } + ], "events": [ { "name": "confirm", diff --git a/src/locale/lang/zh-CN.ts b/src/locale/lang/zh-CN.ts index 575bfdffb..5bcc0b48e 100644 --- a/src/locale/lang/zh-CN.ts +++ b/src/locale/lang/zh-CN.ts @@ -1,4 +1,7 @@ export default { + confirm: '确定', + cancel: '取消', + // 日历 vanCalendar_title: '日期选择', vanCalendar_confirm: '确定', @@ -22,9 +25,11 @@ export default { vanPickerson_confirm: '确定', vanPickerson_cancel: '取消', vanPickerson_searchPlaceholder: '请输入搜索关键词', - vanPickerson_selected: '当前已选中', - vanPickerson_selectAll: '全选', - vanPickerson_cancelSelectAll: '取消全选', + vanPickerPick_confirm: '确定', + vanPickerPick_cancel: '取消', + vanPickerList_selected: '当前已选中', + vanPickerList_selectAll: '全选', + vanPickerList_cancelSelectAll: '取消全选', // 表单项 validateLabel: '字段', diff --git a/src/pickerson/api.yaml b/src/pickerson/api.yaml index 0f31c59ad..fe8e059a6 100644 --- a/src/pickerson/api.yaml +++ b/src/pickerson/api.yaml @@ -261,6 +261,8 @@ vanPickerson_confirm: 确定 vanPickerson_cancel: 取消 vanPickerson_searchPlaceholder: 请输入搜索关键词 - vanPickerson_selected: 当前已选中 - vanPickerson_selectAll: 全选 - vanPickerson_cancelSelectAll: 取消全选 + vanPickerPick_confirm: 确定 + vanPickerPick_cancel: 取消 + vanPickerList_selected: 当前已选中 + vanPickerList_selectAll: 全选 + vanPickerList_cancelSelectAll: 取消全选