Skip to content

Commit 17f966d

Browse files
committed
fix: 修复某些组件 F1 无法打开文档的问题
1 parent ddf79ce commit 17f966d

File tree

18 files changed

+74
-79
lines changed

18 files changed

+74
-79
lines changed

uni_modules/uni-data-checkbox/components/uni-data-checkbox/uni-data-checkbox.vue

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@
5151

5252
<script>
5353
/**
54-
* DataChecklist 数据选择器
54+
* DataCheckbox 数据选择器
5555
* @description 通过数据渲染 checkbox 和 radio
56-
* @tutorial https://ext.dcloud.net.cn/plugin?id=xxx
56+
* @tutorial https://ext.dcloud.net.cn/plugin?id=3456
5757
* @property {String} mode = [default| list | button | tag] 显示模式
5858
* @value default 默认横排模式
5959
* @value list 列表模式
@@ -74,10 +74,8 @@
7474
* @event {Function} change 选中发生变化触发
7575
*/
7676
77-
// import clientdb from './clientdb.js'
7877
export default {
79-
name: 'uniDataChecklist',
80-
// mixins: [clientdb],
78+
name: 'uniDataCheckbox',
8179
mixins: [uniCloud.mixinDatacom],
8280
props: {
8381
mode: {

uni_modules/uni-data-picker/components/uni-data-picker/uni-data-picker.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@
4444
import DataPickerView from "../uni-data-pickerview/uni-data-pickerview.vue"
4545
4646
/**
47-
* uni-data-picker
48-
* @description uni-data-picker
49-
* @tutorial https://uniapp.dcloud.net.cn/uniCloud/uni-data-picker
47+
* DataPicker 级联选择
48+
* @description 支持单列、和多列级联选择。列数没有限制,如果屏幕显示不全,顶部tab区域会左右滚动。
49+
* @tutorial https://ext.dcloud.net.cn/plugin?id=3796
5050
* @property {String} popup-title 弹出窗口标题
5151
* @property {Array} localdata 本地数据,参考
5252
* @property {Boolean} border = [true|false] 是否有边框

uni_modules/uni-data-picker/components/uni-data-pickerview/uni-data-pickerview.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@
2929
import dataPicker from "./uni-data-picker.js"
3030
3131
/**
32-
* uni-data-pickerview
32+
* DataPickerview
3333
* @description uni-data-pickerview
34-
* @tutorial https://uniapp.dcloud.net.cn/uniCloud/uni-data-picker
34+
* @tutorial https://ext.dcloud.net.cn/plugin?id=3796
3535
* @property {Array} localdata 本地数据,参考
3636
* @property {Boolean} step-searh = [true|false] 是否分布查询
3737
* @value true 启用分布查询,仅查询当前选中节点

uni_modules/uni-dateformat/components/uni-dateformat/uni-dateformat.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
</template>
44

55
<script>
6+
import {friendlyDate} from './date-format.js'
67
/**
78
* Dateformat 日期格式化
89
* @description 日期格式化组件
@@ -14,9 +15,6 @@
1415
* @property {Array} threshold 应用不同类型格式化的阈值
1516
* @property {String} format 输出日期字符串时的格式
1617
*/
17-
import {
18-
friendlyDate
19-
} from './date-format.js'
2018
export default {
2119
name: 'uniDateformat',
2220
props: {

uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.vue

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@
9696
import timePicker from './basic/time-picker/components/time-picker/time-picker.vue'
9797
9898
/**
99-
* uni-date-picker
99+
* DatetimePicker 时间选择器
100100
* @description 同时支持 PC 和移动端使用日历选择日期和日期范围
101-
* @tutorial https://ext.dcloud.net.cn/plugin?id=4700
101+
* @tutorial https://ext.dcloud.net.cn/plugin?id=3962
102102
* @property {String} type 选择器类型
103103
* @property {String|Array} value 绑定值
104104
* @property {String} placeholder 单选择时的占位内容
@@ -110,7 +110,8 @@
110110
* @event {Function} change 确定日期时触发的事件
111111
**/
112112
113-
export default {
113+
export default {
114+
name:'UniDatetimePicker',
114115
components: {
115116
uniCalendar,
116117
timePicker

uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.vue

Lines changed: 34 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -30,53 +30,52 @@
3030
</view>
3131
</template>
3232

33-
<script>
33+
<script>
34+
// import {
35+
// debounce,
36+
// throttle
37+
// } from './common.js'
3438
/**
35-
* Field 输入框
39+
* Easyinput 输入框
3640
* @description 此组件可以实现表单的输入与校验,包括 "text" 和 "textarea" 类型。
37-
* @tutorial https://ext.dcloud.net.cn/plugin?id=21001
38-
* @property {String| Number} value 输入内容
39-
* @property {String } type 输入框的类型(默认text) password/text/textarea/..
40-
* @value text 文本输入键盘
41-
* @value textarea 多行文本输入键盘
42-
* @value password 密码输入键盘
43-
* @value number 数字输入键盘,注意iOS上app-vue弹出的数字键盘并非9宫格方式
44-
* @value idcard 身份证输入键盘,信、支付宝、百度、QQ小程序
45-
* @value digit 带小数点的数字键盘 ,App的nvue页面、微信、支付宝、百度、头条、QQ小程序支持
46-
* @property {Boolean} clearable 是否显示右侧清空内容的图标控件(输入框有内容,且获得焦点时才显示),点击可清空输入框内容(默认true)
47-
* @property {Boolean} autoHeight 是否自动增高输入区域,type为textarea时有效(默认true)
48-
* @property {String } placeholder 输入框的提示文字
49-
* @property {String } placeholderStyle placeholder的样式(内联样式,字符串),如"color: #ddd"
50-
* @property {Boolean} focus 是否自动获得焦点(默认false)
51-
* @property {Boolean} disabled 是否不可输入(默认false)
52-
* @property {Number } maxlength 最大输入长度,设置为 -1 的时候不限制最大长度(默认140)
53-
* @property {String } confirmType 设置键盘右下角按钮的文字,仅在type="text"时生效(默认done)
54-
* @property {Number } clearSize 清除图标的大小,单位px(默认15)
55-
* @property {String} prefixIcon 输入框头部图标
56-
* @property {String} suffixIcon 输入框尾部图标
57-
* @property {Boolean} trim 是否自动去除两端的空格
41+
* @tutorial https://ext.dcloud.net.cn/plugin?id=3455
42+
* @property {String} value 输入内容
43+
* @property {String } type 输入框的类型(默认text) password/text/textarea/..
44+
* @value text 文本输入键盘
45+
* @value textarea 多行文本输入键盘
46+
* @value password 密码输入键盘
47+
* @value number 数字输入键盘,注意iOS上app-vue弹出的数字键盘并非9宫格方式
48+
* @value idcard 身份证输入键盘,信、支付宝、百度、QQ小程序
49+
* @value digit 带小数点的数字键盘 ,App的nvue页面、微信、支付宝、百度、头条、QQ小程序支持
50+
* @property {Boolean} clearable 是否显示右侧清空内容的图标控件(输入框有内容,且获得焦点时才显示),点击可清空输入框内容(默认true)
51+
* @property {Boolean} autoHeight 是否自动增高输入区域,type为textarea时有效(默认true)
52+
* @property {String } placeholder 输入框的提示文字
53+
* @property {String } placeholderStyle placeholder的样式(内联样式,字符串),如"color: #ddd"
54+
* @property {Boolean} focus 是否自动获得焦点(默认false)
55+
* @property {Boolean} disabled 是否不可输入(默认false)
56+
* @property {Number } maxlength 最大输入长度,设置为 -1 的时候不限制最大长度(默认140)
57+
* @property {String } confirmType 设置键盘右下角按钮的文字,仅在type="text"时生效(默认done)
58+
* @property {Number } clearSize 清除图标的大小,单位px(默认15)
59+
* @property {String} prefixIcon 输入框头部图标
60+
* @property {String} suffixIcon 输入框尾部图标
61+
* @property {Boolean} trim 是否自动去除两端的空格
5862
* @value both 去除两端空格
5963
* @value left 去除左侧空格
6064
* @value right 去除右侧空格
6165
* @value start 去除左侧空格
6266
* @value end 去除右侧空格
6367
* @value all 去除全部空格
6468
* @value none 不去除空格
65-
* @property {Boolean} inputBorder 是否显示input输入框的边框(默认true)
66-
* @property {Object} styles 自定义颜色
67-
* @event {Function} input 输入框内容发生变化时触发
68-
* @event {Function} focus 输入框获得焦点时触发
69-
* @event {Function} blur 输入框失去焦点时触发
70-
* @event {Function} confirm 点击完成按钮时触发
71-
* @event {Function} iconClick 点击图标时触发
69+
* @property {Boolean} inputBorder 是否显示input输入框的边框(默认true)
70+
* @property {Object} styles 自定义颜色
71+
* @event {Function} input 输入框内容发生变化时触发
72+
* @event {Function} focus 输入框获得焦点时触发
73+
* @event {Function} blur 输入框失去焦点时触发
74+
* @event {Function} confirm 点击完成按钮时触发
75+
* @event {Function} iconClick 点击图标时触发
7276
* @example <uni-easyinput v-model="mobile"></uni-easyinput>
7377
*/
7478
75-
import {
76-
debounce,
77-
throttle
78-
} from './common.js'
79-
8079
export default {
8180
name: 'uni-easyinput',
8281
props: {

uni_modules/uni-file-picker/components/uni-file-picker/uni-file-picker.vue

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,15 @@
3939
</view>
4040
</template>
4141

42-
<script>
42+
<script>
43+
import { chooseAndUploadFile } from './choose-and-upload-file.js'
44+
import uploadImage from './upload-image.vue'
45+
import uploadFile from './upload-file.vue'
46+
let fileInput = null
4347
/**
44-
* FilePicker
48+
* FilePicker 文件选择上传
4549
* @description 文件选择上传组件,可以选择图片、视频等任意文件并上传到当前绑定的服务空间
46-
* @tutorial https://ext.dcloud.net.cn/plugin?id=-1
50+
* @tutorial https://ext.dcloud.net.cn/plugin?id=4079
4751
* @property {Object|Array} value 组件数据,通常用来回显 ,类型由return-type属性决定
4852
* @property {Boolean} disabled=[true|false] 组件禁用
4953
* @value true 禁用
@@ -81,11 +85,6 @@
8185
* @event {Function} fail 上传失败触发
8286
* @event {Function} delete 文件从列表移除时触发
8387
*/
84-
85-
import { chooseAndUploadFile } from './choose-and-upload-file.js'
86-
import uploadImage from './upload-image.vue'
87-
import uploadFile from './upload-file.vue'
88-
let fileInput = null
8988
export default {
9089
name: 'uniFilePicker',
9190
components: {

uni_modules/uni-forms/components/uni-forms-item/uni-forms-item.vue

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@
4343
* @value left 左侧显示 label
4444
* @property {String} error-message 显示的错误提示内容,如果为空字符串或者false,则不显示错误信息
4545
*/
46-
47-
48-
4946
export default {
5047
name: "uniFormsItem",
5148
props: {

uni_modules/uni-forms/components/uni-forms/uni-forms.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@
3636
* @value bind 发生变化时触发
3737
* @value submit 提交时触发
3838
* @property {String} labelPosition = [top|left] label 位置 默认 left 可选
39-
* @value top 顶部显示 label
40-
* @value left 左侧显示 label
39+
* @value top 顶部显示 label
40+
* @value left 左侧显示 label
4141
* @property {String} labelWidth label 宽度,默认 65px
42-
* @property {String} labelAlign = [left|center|right] label 居中方式 默认 left 可选
42+
* @property {String} labelAlign = [left|center|right] label 居中方式 默认 left 可选
4343
* @value left label 左侧显示
4444
* @value center label 居中
4545
* @value right label 右侧对齐
@@ -49,7 +49,7 @@
4949
* @value modal 错误信息modal显示
5050
* @event {Function} submit 提交时触发
5151
*/
52-
52+
5353
export default {
5454
name: 'uniForms',
5555
props: {

uni_modules/uni-group/components/uni-group/uni-group.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
/**
1616
* Group 分组
1717
* @description 表单字段分组
18-
* @tutorial https://ext.dcloud.net.cn/plugin?id=21002
18+
* @tutorial https://ext.dcloud.net.cn/plugin?id=3281
1919
* @property {String} title 主标题
2020
* @property {Number} top 分组间隔
2121
*/

0 commit comments

Comments
 (0)