uview-plus 3.6.28 → 3.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/README.md +20 -5
  2. package/changelog.md +314 -0
  3. package/components/u-album/album.js +1 -1
  4. package/components/u-avatar/avatar.js +4 -4
  5. package/components/u-avatar-group/avatarGroup.js +4 -4
  6. package/components/u-back-top/backtop.js +4 -4
  7. package/components/u-badge/badge.js +4 -4
  8. package/components/u-button/button.js +4 -4
  9. package/components/u-calendar/calendar.js +4 -4
  10. package/components/u-canvas/u-canvas.vue +146 -0
  11. package/components/u-car-keyboard/carKeyboard.js +4 -4
  12. package/components/u-cascader/u-cascader.vue +19 -10
  13. package/components/u-cate-tab/u-cate-tab.vue +14 -4
  14. package/components/u-cell/cell.js +4 -4
  15. package/components/u-cell-group/cellGroup.js +4 -4
  16. package/components/u-checkbox/checkbox.js +4 -4
  17. package/components/u-checkbox-group/checkboxGroup.js +4 -4
  18. package/components/u-circle-progress/circleProgress.js +4 -4
  19. package/components/u-code/code.js +3 -3
  20. package/components/u-code-input/codeInput.js +4 -4
  21. package/components/u-col/col.js +4 -4
  22. package/components/u-collapse/collapse.js +4 -4
  23. package/components/u-collapse-item/collapseItem.js +4 -4
  24. package/components/u-column-notice/columnNotice.js +4 -4
  25. package/components/u-count-down/countDown.js +4 -4
  26. package/components/u-count-to/countTo.js +4 -4
  27. package/components/u-cropper/u-cropper.vue +6 -3
  28. package/components/u-datetime-picker/datetimePicker.js +4 -4
  29. package/components/u-divider/divider.js +4 -4
  30. package/components/u-dragsort/u-dragsort.vue +85 -72
  31. package/components/u-empty/empty.js +4 -4
  32. package/components/u-form/form.js +4 -4
  33. package/components/u-form-item/formItem.js +4 -4
  34. package/components/u-gap/gap.js +4 -4
  35. package/components/u-grid/grid.js +4 -4
  36. package/components/u-grid/u-grid.vue +1 -1
  37. package/components/u-grid-item/gridItem.js +4 -4
  38. package/components/u-icon/icon.js +4 -4
  39. package/components/u-image/image.js +4 -4
  40. package/components/u-index-anchor/indexAnchor.js +4 -4
  41. package/components/u-index-list/indexList.js +4 -4
  42. package/components/u-input/input.js +1 -1
  43. package/components/u-input/u-input.vue +5 -2
  44. package/components/u-keyboard/keyboard.js +4 -4
  45. package/components/u-line/line.js +4 -4
  46. package/components/u-line-progress/lineProgress.js +4 -4
  47. package/components/u-link/link.js +4 -4
  48. package/components/u-list/list.js +4 -4
  49. package/components/u-list/u-list.vue +4 -1
  50. package/components/u-list-item/listItem.js +4 -4
  51. package/components/u-loading-icon/loadingIcon.js +4 -4
  52. package/components/u-loading-page/loadingPage.js +4 -4
  53. package/components/u-loadmore/loadmore.js +4 -4
  54. package/components/u-modal/modal.js +5 -5
  55. package/components/u-navbar/navbar.js +4 -4
  56. package/components/u-no-network/noNetwork.js +4 -4
  57. package/components/u-no-network/u-no-network.vue +7 -3
  58. package/components/u-notice-bar/noticeBar.js +4 -4
  59. package/components/u-notify/notify.js +4 -4
  60. package/components/u-number-box/numberBox.js +4 -4
  61. package/components/u-number-keyboard/numberKeyboard.js +4 -4
  62. package/components/u-overlay/overlay.js +4 -4
  63. package/components/u-parse/props.js +1 -1
  64. package/components/u-picker/picker.js +4 -4
  65. package/components/u-picker/props.js +4 -0
  66. package/components/u-picker/u-picker.vue +1 -1
  67. package/components/u-popup/popup.js +4 -4
  68. package/components/u-qrcode/qrcode.js +17 -67
  69. package/components/u-qrcode/u-qrcode.vue +178 -85
  70. package/components/u-radio/radio.js +4 -4
  71. package/components/u-radio-group/radioGroup.js +3 -3
  72. package/components/u-rate/rate.js +4 -4
  73. package/components/u-read-more/readMore.js +4 -4
  74. package/components/u-row/row.js +4 -4
  75. package/components/u-row-notice/rowNotice.js +4 -4
  76. package/components/u-scroll-list/scrollList.js +4 -4
  77. package/components/u-search/search.js +7 -5
  78. package/components/u-search/u-search.vue +2 -2
  79. package/components/u-section/section.js +4 -4
  80. package/components/u-select/u-select.vue +4 -1
  81. package/components/u-signature/u-signature.vue +1 -0
  82. package/components/u-skeleton/skeleton.js +4 -4
  83. package/components/u-slider/slider.js +4 -4
  84. package/components/u-status-bar/statusBar.js +4 -4
  85. package/components/u-steps/steps.js +4 -4
  86. package/components/u-steps/u-steps.vue +1 -1
  87. package/components/u-steps-item/stepsItem.js +4 -4
  88. package/components/u-sticky/sticky.js +4 -4
  89. package/components/u-subsection/subsection.js +4 -4
  90. package/components/u-swipe-action/swipeAction.js +4 -4
  91. package/components/u-swipe-action-item/swipeActionItem.js +4 -4
  92. package/components/u-swiper/swiper.js +4 -4
  93. package/components/u-swiper-indicator/swipterIndicator.js +4 -4
  94. package/components/u-switch/switch.js +4 -4
  95. package/components/u-tabbar/tabbar.js +4 -4
  96. package/components/u-tabbar-item/tabbarItem.js +4 -4
  97. package/components/u-tabs/tabs.js +4 -4
  98. package/components/u-tag/tag.js +4 -4
  99. package/components/u-text/text.js +4 -4
  100. package/components/u-textarea/textarea.js +4 -4
  101. package/components/u-toast/toast.js +4 -4
  102. package/components/u-toolbar/toolbar.js +4 -4
  103. package/components/u-tooltip/tooltip.js +4 -4
  104. package/components/u-transition/transition.js +4 -4
  105. package/components/u-upload/upload.js +4 -4
  106. package/libs/function/index.js +11 -5
  107. package/libs/util/gcanvas/bridge/bridge-weex.js +2 -1
  108. package/libs/util/gcanvas/env/image.js +24 -16
  109. package/package.json +2 -2
  110. package/types/comps/radio.d.ts +6 -2
  111. package/types/func.d.ts +317 -0
  112. package/types/index.d.ts +73 -105
  113. package/components/u-scroll-list/other.js +0 -0
@@ -1,11 +1,11 @@
1
1
  /*
2
2
  * @Author : LQ
3
3
  * @Description :
4
- * @version : 1.0
4
+ * @version : 3.0
5
5
  * @Date : 2021-08-20 16:44:21
6
- * @LastAuthor : LQ
7
- * @lastTime : 2021-08-20 17:12:55
8
- * @FilePath : /u-view2.0/uview-ui/libs/config/props/stepsItem.js
6
+ * @LastAuthor : jry
7
+ * @lastTime : 2025-12-19 08:55:21
8
+ * @FilePath : /uview-plus/libs/config/props/stepsItem.js
9
9
  */
10
10
  export default {
11
11
  // steps-item组件
@@ -1,11 +1,11 @@
1
1
  /*
2
2
  * @Author : LQ
3
3
  * @Description :
4
- * @version : 1.0
4
+ * @version : 3.0
5
5
  * @Date : 2021-08-20 16:44:21
6
- * @LastAuthor : LQ
7
- * @lastTime : 2021-08-20 17:01:30
8
- * @FilePath : /u-view2.0/uview-ui/libs/config/props/sticky.js
6
+ * @LastAuthor : jry
7
+ * @lastTime : 2025-12-19 08:55:21
8
+ * @FilePath : /uview-plus/libs/config/props/sticky.js
9
9
  */
10
10
  export default {
11
11
  // sticky组件
@@ -1,11 +1,11 @@
1
1
  /*
2
2
  * @Author : LQ
3
3
  * @Description :
4
- * @version : 1.0
4
+ * @version : 3.0
5
5
  * @Date : 2021-08-20 16:44:21
6
- * @LastAuthor : LQ
7
- * @lastTime : 2021-08-20 17:12:20
8
- * @FilePath : /u-view2.0/uview-ui/libs/config/props/subsection.js
6
+ * @LastAuthor : jry
7
+ * @lastTime : 2025-12-19 08:55:21
8
+ * @FilePath : /uview-plus/libs/config/props/subsection.js
9
9
  */
10
10
  export default {
11
11
  // subsection组件
@@ -1,11 +1,11 @@
1
1
  /*
2
2
  * @Author : LQ
3
3
  * @Description :
4
- * @version : 1.0
4
+ * @version : 3.0
5
5
  * @Date : 2021-08-20 16:44:21
6
- * @LastAuthor : LQ
7
- * @lastTime : 2021-08-20 17:00:42
8
- * @FilePath : /u-view2.0/uview-ui/libs/config/props/swipeAction.js
6
+ * @LastAuthor : jry
7
+ * @lastTime : 2025-12-19 08:55:21
8
+ * @FilePath : /uview-plus/libs/config/props/swipeAction.js
9
9
  */
10
10
  export default {
11
11
  // swipe-action组件
@@ -1,11 +1,11 @@
1
1
  /*
2
2
  * @Author : LQ
3
3
  * @Description :
4
- * @version : 1.0
4
+ * @version : 3.0
5
5
  * @Date : 2021-08-20 16:44:21
6
- * @LastAuthor : LQ
7
- * @lastTime : 2021-08-20 17:01:13
8
- * @FilePath : /u-view2.0/uview-ui/libs/config/props/swipeActionItem.js
6
+ * @LastAuthor : jry
7
+ * @lastTime : 2025-12-19 08:55:21
8
+ * @FilePath : /uview-plus/libs/config/props/swipeActionItem.js
9
9
  */
10
10
  export default {
11
11
  // swipeActionItem 组件
@@ -1,11 +1,11 @@
1
1
  /*
2
2
  * @Author : LQ
3
3
  * @Description :
4
- * @version : 1.0
4
+ * @version : 3.0
5
5
  * @Date : 2021-08-20 16:44:21
6
- * @LastAuthor : LQ
7
- * @lastTime : 2021-08-20 17:21:38
8
- * @FilePath : /u-view2.0/uview-ui/libs/config/props/swiper.js
6
+ * @LastAuthor : jry
7
+ * @lastTime : 2025-12-19 08:55:21
8
+ * @FilePath : /uview-plus/libs/config/props/swiper.js
9
9
  */
10
10
  export default {
11
11
  // swiper 组件
@@ -1,11 +1,11 @@
1
1
  /*
2
2
  * @Author : LQ
3
3
  * @Description :
4
- * @version : 1.0
4
+ * @version : 3.0
5
5
  * @Date : 2021-08-20 16:44:21
6
- * @LastAuthor : LQ
7
- * @lastTime : 2021-08-20 17:22:07
8
- * @FilePath : /u-view2.0/uview-ui/libs/config/props/swiperIndicator.js
6
+ * @LastAuthor : jry
7
+ * @lastTime : 2025-12-19 08:55:21
8
+ * @FilePath : /uview-plus/libs/config/props/swiperIndicator.js
9
9
  */
10
10
  export default {
11
11
  // swiperIndicator 组件
@@ -1,11 +1,11 @@
1
1
  /*
2
2
  * @Author : LQ
3
3
  * @Description :
4
- * @version : 1.0
4
+ * @version : 3.0
5
5
  * @Date : 2021-08-20 16:44:21
6
- * @LastAuthor : LQ
7
- * @lastTime : 2021-08-20 17:22:24
8
- * @FilePath : /u-view2.0/uview-ui/libs/config/props/switch.js
6
+ * @LastAuthor : jry
7
+ * @lastTime : 2025-12-19 08:55:21
8
+ * @FilePath : /uview-plus/libs/config/props/switch.js
9
9
  */
10
10
  export default {
11
11
  // switch
@@ -1,11 +1,11 @@
1
1
  /*
2
2
  * @Author : LQ
3
3
  * @Description :
4
- * @version : 1.0
4
+ * @version : 3.0
5
5
  * @Date : 2021-08-20 16:44:21
6
- * @LastAuthor : LQ
7
- * @lastTime : 2021-08-20 17:22:40
8
- * @FilePath : /u-view2.0/uview-ui/libs/config/props/tabbar.js
6
+ * @LastAuthor : jry
7
+ * @lastTime : 2025-12-19 08:55:21
8
+ * @FilePath : /uview-plus/libs/config/props/tabbar.js
9
9
  */
10
10
  export default {
11
11
  // tabbar
@@ -1,11 +1,11 @@
1
1
  /*
2
2
  * @Author : LQ
3
3
  * @Description :
4
- * @version : 1.0
4
+ * @version : 3.0
5
5
  * @Date : 2021-08-20 16:44:21
6
- * @LastAuthor : LQ
7
- * @lastTime : 2021-08-20 17:22:55
8
- * @FilePath : /u-view2.0/uview-ui/libs/config/props/tabbarItem.js
6
+ * @LastAuthor : jry
7
+ * @lastTime : 2025-12-19 08:55:21
8
+ * @FilePath : /uview-plus/libs/config/props/tabbarItem.js
9
9
  */
10
10
  export default {
11
11
  //
@@ -1,11 +1,11 @@
1
1
  /*
2
2
  * @Author : LQ
3
3
  * @Description :
4
- * @version : 1.0
4
+ * @version : 3.0
5
5
  * @Date : 2021-08-20 16:44:21
6
- * @LastAuthor : LQ
7
- * @lastTime : 2021-08-20 17:23:14
8
- * @FilePath : /u-view2.0/uview-ui/libs/config/props/tabs.js
6
+ * @LastAuthor : jry
7
+ * @lastTime : 2025-12-19 08:55:21
8
+ * @FilePath : /uview-plus/libs/config/props/tabs.js
9
9
  */
10
10
  export default {
11
11
  //
@@ -1,11 +1,11 @@
1
1
  /*
2
2
  * @Author : LQ
3
3
  * @Description :
4
- * @version : 1.0
4
+ * @version : 3.0
5
5
  * @Date : 2021-08-20 16:44:21
6
- * @LastAuthor : LQ
7
- * @lastTime : 2021-08-20 17:23:37
8
- * @FilePath : /u-view2.0/uview-ui/libs/config/props/tag.js
6
+ * @LastAuthor : jry
7
+ * @lastTime : 2025-12-19 08:55:21
8
+ * @FilePath : /uview-plus/libs/config/props/tag.js
9
9
  */
10
10
  export default {
11
11
  // tag 组件
@@ -1,11 +1,11 @@
1
1
  /*
2
2
  * @Author : LQ
3
3
  * @Description :
4
- * @version : 1.0
4
+ * @version : 3.0
5
5
  * @Date : 2021-08-20 16:44:21
6
- * @LastAuthor : LQ
7
- * @lastTime : 2021-08-20 17:23:58
8
- * @FilePath : /u-view2.0/uview-ui/libs/config/props/text.js
6
+ * @LastAuthor : jry
7
+ * @lastTime : 2025-12-19 08:55:21
8
+ * @FilePath : /uview-plus/libs/config/props/text.js
9
9
  */
10
10
  export default {
11
11
  // text 组件
@@ -1,11 +1,11 @@
1
1
  /*
2
2
  * @Author : LQ
3
3
  * @Description :
4
- * @version : 1.0
4
+ * @version : 3.0
5
5
  * @Date : 2021-08-20 16:44:21
6
- * @LastAuthor : LQ
7
- * @lastTime : 2021-08-20 17:24:32
8
- * @FilePath : /u-view2.0/uview-ui/libs/config/props/textarea.js
6
+ * @LastAuthor : jry
7
+ * @lastTime : 2025-12-19 08:55:21
8
+ * @FilePath : /uview-plus/libs/config/props/textarea.js
9
9
  */
10
10
  export default {
11
11
  // textarea 组件
@@ -1,11 +1,11 @@
1
1
  /*
2
2
  * @Author : LQ
3
3
  * @Description :
4
- * @version : 1.0
4
+ * @version : 3.0
5
5
  * @Date : 2021-08-20 16:44:21
6
- * @LastAuthor : LQ
7
- * @lastTime : 2021-08-20 17:07:07
8
- * @FilePath : /u-view2.0/uview-ui/libs/config/props/toast.js
6
+ * @LastAuthor : jry
7
+ * @lastTime : 2025-12-19 08:55:21
8
+ * @FilePath : /uview-plus/libs/config/props/toast.js
9
9
  */
10
10
  export default {
11
11
  // toast组件
@@ -1,11 +1,11 @@
1
1
  /*
2
2
  * @Author : LQ
3
3
  * @Description :
4
- * @version : 1.0
4
+ * @version : 3.0
5
5
  * @Date : 2021-08-20 16:44:21
6
- * @LastAuthor : LQ
7
- * @lastTime : 2021-08-20 17:24:55
8
- * @FilePath : /u-view2.0/uview-ui/libs/config/props/toolbar.js
6
+ * @LastAuthor : jry
7
+ * @lastTime : 2025-12-19 08:55:21
8
+ * @FilePath : /uview-plus/libs/config/props/toolbar.js
9
9
  */
10
10
  import { t } from '../../libs/i18n'
11
11
  export default {
@@ -1,11 +1,11 @@
1
1
  /*
2
2
  * @Author : LQ
3
3
  * @Description :
4
- * @version : 1.0
4
+ * @version : 3.0
5
5
  * @Date : 2021-08-20 16:44:21
6
- * @LastAuthor : LQ
7
- * @lastTime : 2021-08-20 17:25:14
8
- * @FilePath : /u-view2.0/uview-ui/libs/config/props/tooltip.js
6
+ * @LastAuthor : jry
7
+ * @lastTime : 2025-12-19 08:55:21
8
+ * @FilePath : /uview-plus/libs/config/props/tooltip.js
9
9
  */
10
10
  export default {
11
11
  // tooltip 组件
@@ -1,11 +1,11 @@
1
1
  /*
2
2
  * @Author : LQ
3
3
  * @Description :
4
- * @version : 1.0
4
+ * @version : 3.0
5
5
  * @Date : 2021-08-20 16:44:21
6
- * @LastAuthor : LQ
7
- * @lastTime : 2021-08-20 16:59:00
8
- * @FilePath : /u-view2.0/uview-ui/libs/config/props/transition.js
6
+ * @LastAuthor : jry
7
+ * @lastTime : 2025-12-19 08:55:21
8
+ * @FilePath : /uview-plus/libs/config/props/transition.js
9
9
  */
10
10
  export default {
11
11
  // transition动画组件的props
@@ -1,11 +1,11 @@
1
1
  /*
2
2
  * @Author : LQ
3
3
  * @Description :
4
- * @version : 1.0
4
+ * @version : 3.0
5
5
  * @Date : 2021-08-20 16:44:21
6
- * @LastAuthor : LQ
7
- * @lastTime : 2021-08-20 17:09:50
8
- * @FilePath : /u-view2.0/uview-ui/libs/config/props/upload.js
6
+ * @LastAuthor : jry
7
+ * @lastTime : 2025-12-19 08:55:21
8
+ * @FilePath : /uview-plus/libs/config/props/upload.js
9
9
  */
10
10
  export default {
11
11
  // upload组件
@@ -157,9 +157,14 @@ export function $parent(name = undefined) {
157
157
  let parent = this.$parent
158
158
  // 通过while历遍,这里主要是为了H5需要多层解析的问题
159
159
  while (parent) {
160
- // 父组件
161
- let name2 = name.replace(/up-([a-zA-Z0-9-_]+)/g, 'u-$1')
162
- if (parent.$options && parent.$options.name !== name && && parent.$options.name !== name2) {
160
+ // 父组件
161
+ let name2 = ''
162
+ if (name.startsWith('up-')) {
163
+ name2 = name.replace(/up-([a-zA-Z0-9-_]+)/g, 'u-$1')
164
+ } else if (name.startsWith('u-')) {
165
+ name2 = name.replace(/u-([a-zA-Z0-9-_]+)/g, 'up-$1')
166
+ }
167
+ if (parent.$options && parent.$options.name !== name && parent.$options.name !== name2) {
163
168
  // 如果组件的name不相等,继续上一级寻找
164
169
  parent = parent.$parent
165
170
  } else {
@@ -645,8 +650,8 @@ export function padZero(value) {
645
650
  * @param {*} event
646
651
  */
647
652
  export function formValidate(instance, event) {
648
- const formItem = $parent.call(instance, 'u-form-item')
649
- const form = $parent.call(instance, 'u-form')
653
+ const formItem = $parent.call(instance, 'up-form-item')
654
+ const form = $parent.call(instance, 'up-form')
650
655
  // 如果发生变化的input或者textarea等,其父组件中有u-form-item或者u-form等,就执行form的validate方法
651
656
  // 同时将form-item的pros传递给form,让其进行精确对象验证
652
657
  if (formItem && form) {
@@ -870,3 +875,4 @@ export default {
870
875
  genLightColor,
871
876
  rpx2px
872
877
  }
878
+
@@ -22,7 +22,6 @@ const logCommand = (function () {
22
22
  }
23
23
  const logCommand = (id, cmds) => {
24
24
  const mId = cmds.split(',')[0];
25
- const mName = queryMethod(mId);
26
25
  console.log(`=== callNative - componentId:${id}; method: ${mName}; cmds: ${cmds}`);
27
26
  }
28
27
  return logCommand;
@@ -214,7 +213,9 @@ const GBridge = {
214
213
  },
215
214
 
216
215
  perloadImage([url, id], callback) {
216
+ console.log('********************asda**********')
217
217
  GCanvasModule.preLoadImage([url, id], function (image) {
218
+ console.log('********************asda2**********')
218
219
  image.url = url;
219
220
  image.id = id;
220
221
  callback(image);
@@ -1,5 +1,6 @@
1
1
  let incId = 1;
2
2
 
3
+ import GBridge from '../bridge/bridge-weex.js'
3
4
  const noop = function () { };
4
5
 
5
6
  class GImage {
@@ -42,22 +43,29 @@ class GImage {
42
43
  }
43
44
 
44
45
  this._src = v;
45
-
46
- GImage.GBridge.perloadImage([this._src, this._id], (data) => {
47
- if (typeof data === 'string') {
48
- data = JSON.parse(data);
49
- }
50
- if (data.error) {
51
- var evt = { type: 'error', target: this };
52
- this.onerror(evt);
53
- } else {
54
- this.complete = true;
55
- this.width = typeof data.width === 'number' ? data.width : 0;
56
- this.height = typeof data.height === 'number' ? data.height : 0;
57
- var evt = { type: 'load', target: this };
58
- this.onload(evt);
59
- }
60
- });
46
+ try {
47
+ GBridge.perloadImage([this._src, this._id], (data) => {
48
+ if (process.env.NODE_ENV === 'development') {
49
+ console.log('****GBridge.perloadImage****')
50
+ }
51
+ if (typeof data === 'string') {
52
+ data = JSON.parse(data);
53
+ }
54
+
55
+ if (data.error) {
56
+ var evt = { type: 'error', target: this };
57
+ this.onerror(evt);
58
+ } else {
59
+ this.complete = true;
60
+ this.width = typeof data.width === 'number' ? data.width : 0;
61
+ this.height = typeof data.height === 'number' ? data.height : 0;
62
+ var evt = { type: 'load', target: this };
63
+ this.onload(evt);
64
+ }
65
+ });
66
+ } catch (error) {
67
+ console.log('perloadImage fail', error)
68
+ }
61
69
  }
62
70
 
63
71
  addEventListener(name, listener) {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "id": "uview-plus",
3
3
  "name": "uview-plus",
4
4
  "displayName": "零云®uview-plus3.0重磅发布,全面的Vue3鸿蒙跨端移动组件库,组件丰富维护更新稳定。",
5
- "version": "3.6.28",
5
+ "version": "3.7.0",
6
6
  "description": "零云®uview-plus已兼容vue3支持多语言,120+全面的组件和便捷的工具会让您信手拈来。近期新增拖动排序、条码、图片裁剪、下拉刷新、虚拟列表、签名、Markdown等。",
7
7
  "keywords": [
8
8
  "uview",
@@ -10,7 +10,7 @@
10
10
  "ui",
11
11
  "echarts",
12
12
  "ui",
13
- "可视化设计"
13
+ "可视化"
14
14
  ],
15
15
  "main": "index.js",
16
16
  "repository": "https://github.com/ijry/uview-plus",
@@ -60,9 +60,13 @@ declare interface RadioProps {
60
60
 
61
61
  declare interface RadioSlots {
62
62
  /**
63
- * 自定义修改label内容
63
+ * 自定义icon内容
64
64
  */
65
- ['default']?: () => any
65
+ ['icon']?: () => any
66
+ /**
67
+ * 自定义label内容
68
+ */
69
+ ['label']?: () => any
66
70
  }
67
71
 
68
72
  declare interface _Radio {