Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DCloud
uni-app
提交
a1fa84cd
U
uni-app
项目概览
DCloud
/
uni-app
6 个月 前同步成功
通知
751
Star
38709
Fork
3642
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
8
列表
看板
标记
里程碑
合并请求
1
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
uni-app
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
8
Issue
8
列表
看板
标记
里程碑
合并请求
1
合并请求
1
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
a1fa84cd
编写于
1月 16, 2023
作者:
Q
qiang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: build
上级
1da849d7
变更
3
展开全部
隐藏空白更改
内联
并排
Showing
3 changed file
with
35 addition
and
15 deletion
+35
-15
packages/uni-app-plus/dist/uni-app-view.umd.js
packages/uni-app-plus/dist/uni-app-view.umd.js
+1
-1
packages/uni-h5/dist/uni-h5.cjs.js
packages/uni-h5/dist/uni-h5.cjs.js
+17
-7
packages/uni-h5/dist/uni-h5.es.js
packages/uni-h5/dist/uni-h5.es.js
+17
-7
未找到文件。
packages/uni-app-plus/dist/uni-app-view.umd.js
浏览文件 @
a1fa84cd
此差异已折叠。
点击以展开。
packages/uni-h5/dist/uni-h5.cjs.js
浏览文件 @
a1fa84cd
...
...
@@ -3100,6 +3100,16 @@ function getValueString(value, type) {
}
return
value
===
null
?
""
:
String
(
value
);
}
const
INPUT_MODES
=
[
"
none
"
,
"
text
"
,
"
decimal
"
,
"
numeric
"
,
"
tel
"
,
"
search
"
,
"
email
"
,
"
url
"
];
const
props$k
=
/* @__PURE__ */
shared
.
extend
(
{},
{
...
...
@@ -3178,6 +3188,11 @@ const props$k = /* @__PURE__ */ shared.extend(
step
:
{
type
:
String
,
default
:
"
0.000000000000000001
"
},
inputmode
:
{
type
:
String
,
default
:
void
0
,
validator
:
(
value
)
=>
!!~
INPUT_MODES
.
indexOf
(
value
)
}
},
props$n
...
...
@@ -3408,7 +3423,6 @@ function useField(props2, rootRef, emit2, beforeInput) {
trigger
};
}
const
INPUT_MODES
=
[
"
none
"
,
"
text
"
,
"
decimal
"
,
"
numeric
"
,
"
tel
"
,
"
search
"
,
"
email
"
,
"
url
"
];
const
props$j
=
/* @__PURE__ */
shared
.
extend
({},
props$k
,
{
placeholderClass
:
{
type
:
String
,
...
...
@@ -3417,11 +3431,6 @@ const props$j = /* @__PURE__ */ shared.extend({}, props$k, {
textContentType
:
{
type
:
String
,
default
:
""
},
inputmode
:
{
type
:
String
,
default
:
void
0
,
validator
:
(
value
)
=>
!!~
INPUT_MODES
.
indexOf
(
value
)
}
});
const
Input
=
/* @__PURE__ */
defineBuiltInComponent
({
...
...
@@ -7175,6 +7184,7 @@ const index$g = /* @__PURE__ */ defineBuiltInComponent({
"
disabled
"
:
!!
props2
.
disabled
,
"
maxlength
"
:
state
.
maxlength
,
"
enterkeyhint
"
:
props2
.
confirmType
,
"
inputmode
"
:
props2
.
inputmode
,
"
class
"
:
{
"
uni-textarea-textarea
"
:
true
,
"
uni-textarea-textarea-fix-margin
"
:
fixMargin
...
...
@@ -7184,7 +7194,7 @@ const index$g = /* @__PURE__ */ defineBuiltInComponent({
},
"
onKeydown
"
:
onKeyDownEnter
,
"
onKeyup
"
:
onKeyUpEnter
},
null
,
46
,
[
"
value
"
,
"
disabled
"
,
"
maxlength
"
,
"
enterkeyhint
"
,
"
onKeydown
"
,
"
onKeyup
"
]);
},
null
,
46
,
[
"
value
"
,
"
disabled
"
,
"
maxlength
"
,
"
enterkeyhint
"
,
"
inputmode
"
,
"
onKeydown
"
,
"
onKeyup
"
]);
return
vue
.
createVNode
(
"
uni-textarea
"
,
{
"
ref
"
:
rootRef
},
[
vue
.
createVNode
(
"
div
"
,
{
...
...
packages/uni-h5/dist/uni-h5.es.js
浏览文件 @
a1fa84cd
...
...
@@ -9187,6 +9187,16 @@ function getValueString(value, type) {
}
return value === null ? "" : String(value);
}
const INPUT_MODES = [
"none",
"text",
"decimal",
"numeric",
"tel",
"search",
"email",
"url"
];
const props$r = /* @__PURE__ */ extend(
{},
{
...
...
@@ -9265,6 +9275,11 @@ const props$r = /* @__PURE__ */ extend(
step: {
type: String,
default: "0.000000000000000001"
},
inputmode: {
type: String,
default: void 0,
validator: (value) => !!~INPUT_MODES.indexOf(value)
}
},
props$u
...
...
@@ -9504,7 +9519,6 @@ function useField(props2, rootRef, emit2, beforeInput) {
trigger
};
}
const INPUT_MODES = ["none", "text", "decimal", "numeric", "tel", "search", "email", "url"];
const props$q = /* @__PURE__ */ extend({}, props$r, {
placeholderClass: {
type: String,
...
...
@@ -9513,11 +9527,6 @@ const props$q = /* @__PURE__ */ extend({}, props$r, {
textContentType: {
type: String,
default: ""
},
inputmode: {
type: String,
default: void 0,
validator: (value) => !!~INPUT_MODES.indexOf(value)
}
});
const Input = /* @__PURE__ */ defineBuiltInComponent({
...
...
@@ -14691,6 +14700,7 @@ const index$h = /* @__PURE__ */ defineBuiltInComponent({
"disabled": !!props2.disabled,
"maxlength": state2.maxlength,
"enterkeyhint": props2.confirmType,
"inputmode": props2.inputmode,
"class": {
"uni-textarea-textarea": true,
"uni-textarea-textarea-fix-margin": fixMargin
...
...
@@ -14700,7 +14710,7 @@ const index$h = /* @__PURE__ */ defineBuiltInComponent({
},
"onKeydown": onKeyDownEnter,
"onKeyup": onKeyUpEnter
}, null, 46, ["value", "disabled", "maxlength", "enterkeyhint", "onKeydown", "onKeyup"]);
}, null, 46, ["value", "disabled", "maxlength", "enterkeyhint", "
inputmode", "
onKeydown", "onKeyup"]);
return createVNode("uni-textarea", {
"ref": rootRef
}, [createVNode("div", {
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录