Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DCloud
uni-app
提交
6dd45002
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看板
提交
6dd45002
编写于
7月 19, 2021
作者:
Q
qiang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: build
上级
3bbf2bfc
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
24 addition
and
67 deletion
+24
-67
packages/uni-app-plus/dist/uni-app-view.umd.js
packages/uni-app-plus/dist/uni-app-view.umd.js
+0
-43
packages/uni-mp-alipay/dist/uni.mp.esm.js
packages/uni-mp-alipay/dist/uni.mp.esm.js
+1
-1
packages/uni-mp-vue/dist/vue.runtime.esm.js
packages/uni-mp-vue/dist/vue.runtime.esm.js
+1
-1
packages/uni-shared/dist/uni-shared.d.ts
packages/uni-shared/dist/uni-shared.d.ts
+22
-22
未找到文件。
packages/uni-app-plus/dist/uni-app-view.umd.js
浏览文件 @
6dd45002
...
...
@@ -517,24 +517,6 @@
return res;
}, {});
}
const initI18nShowModalMsgsOnce = /* @__PURE__ */ once(() => {
const name = "uni.showModal.";
{
useI18n().add(LOCALE_EN, normalizeMessages(name, { cancel: "Cancel", confirm: "OK" }));
}
{
useI18n().add(LOCALE_ES, normalizeMessages(name, { cancel: "Cancelar", confirm: "OK" }));
}
{
useI18n().add(LOCALE_FR, normalizeMessages(name, { cancel: "Annuler", confirm: "OK" }));
}
{
useI18n().add(LOCALE_ZH_HANS, normalizeMessages(name, { cancel: "\u53D6\u6D88", confirm: "\u786E\u5B9A" }));
}
{
useI18n().add(LOCALE_ZH_HANT, normalizeMessages(name, { cancel: "\u53D6\u6D88", confirm: "\u78BA\u5B9A" }));
}
});
const initI18nButtonMsgsOnce = /* @__PURE__ */ once(() => {
const name = "uni.button.";
{
...
...
@@ -5397,7 +5379,6 @@
}
return res;
}
[ON_PAGE_SCROLL, ON_REACH_BOTTOM];
const VD_SYNC = "vdSync";
const ON_WEBVIEW_READY = "onWebviewReady";
const INVOKE_VIEW_API = "invokeViewApi";
...
...
@@ -5700,30 +5681,6 @@
}, Upx2pxProtocol);
createCallbacks("canvasEvent");
createCallbacks("getSelectedTextRangeEvent");
({
beforeInvoke() {
initI18nShowModalMsgsOnce();
},
formatArgs: {
title: "",
content: "",
showCancel: true,
cancelText(_value, params) {
if (!hasOwn$1(params, "cancelText")) {
const { t: t2 } = useI18n();
params.cancelText = t2("uni.showModal.cancel");
}
},
cancelColor: "#000",
confirmText(_value, params) {
if (!hasOwn$1(params, "confirmText")) {
const { t: t2 } = useI18n();
params.confirmText = t2("uni.showModal.confirm");
}
},
confirmColor: PRIMARY_COLOR
}
});
function invokeServiceApi(method, args = {}) {
UniViewJSBridge.publishHandler(INVOKE_SERVICE_API, {
data: {
...
...
packages/uni-mp-alipay/dist/uni.mp.esm.js
浏览文件 @
6dd45002
import
{
hasOwn
,
isArray
,
toNumber
,
isPlainObject
,
isObject
,
capitalize
,
isFunction
,
extend
,
NOOP
,
EMPTY_OBJ
,
camelize
}
from
'
@vue/shared
'
;
import
{
capitalize
,
hasOwn
,
isArray
,
toNumber
,
isPlainObject
,
isObject
,
isFunction
,
extend
,
NOOP
,
EMPTY_OBJ
,
camelize
}
from
'
@vue/shared
'
;
function
setModel
(
target
,
key
,
value
,
modifiers
)
{
if
(
isArray
(
modifiers
))
{
...
...
packages/uni-mp-vue/dist/vue.runtime.esm.js
浏览文件 @
6dd45002
import
{
isFunction
,
isSymbol
,
extend
,
isMap
,
isObject
,
toRawType
,
def
,
isArray
,
isString
,
isPromise
,
toHandlerKey
,
remove
,
EMPTY_OBJ
,
camelize
,
capitalize
,
normalizeClass
,
normalizeStyle
,
isOn
,
NOOP
,
isGloballyWhitelisted
,
isIntegerKey
,
hasOwn
,
hasChanged
,
invokeArrayFns
as
invokeArrayFns$1
,
makeMap
,
isSet
,
NO
,
toNumber
,
hyphenate
,
isReservedProp
,
EMPTY_ARR
,
toTypeString
}
from
'
@vue/shared
'
;
import
{
isFunction
,
isSymbol
,
extend
,
isMap
,
isObject
,
toRawType
,
def
,
isArray
,
isString
,
isPromise
,
toHandlerKey
,
remove
,
EMPTY_OBJ
,
camelize
,
capitalize
,
normalizeClass
,
normalizeStyle
,
isOn
,
NOOP
,
isGloballyWhitelisted
,
isIntegerKey
,
hasOwn
,
hasChanged
,
NO
,
invokeArrayFns
as
invokeArrayFns$1
,
makeMap
,
isSet
,
toNumber
,
hyphenate
,
isReservedProp
,
EMPTY_ARR
,
toTypeString
}
from
'
@vue/shared
'
;
export
{
camelize
}
from
'
@vue/shared
'
;
import
{
injectHook
as
injectHook$1
}
from
'
vue
'
;
...
...
packages/uni-shared/dist/uni-shared.d.ts
浏览文件 @
6dd45002
...
...
@@ -28,10 +28,10 @@ export declare const ACTION_TYPE_SET_TEXT = 10;
* flag
*/
export
declare
type
AddEventAction
=
[
typeof
ACTION_TYPE_ADD_EVENT
,
number
,
string
|
number
,
number
typeof
ACTION_TYPE_ADD_EVENT
,
number
,
string
|
number
,
number
];
export
declare
function
addFont
(
family
:
string
,
source
:
string
,
desc
?:
FontFaceDescriptors
):
Promise
<
void
>
;
...
...
@@ -68,11 +68,11 @@ export declare const COMPONENT_SELECTOR_PREFIX = "uni-";
* nodeJson
*/
export
declare
type
CreateAction
=
[
typeof
ACTION_TYPE_CREATE
,
number
,
string
|
number
,
number
,
Partial
<
UniNodeJSON
|
UniNodeJSONMinify
>
?
typeof
ACTION_TYPE_CREATE
,
number
,
string
|
number
,
number
,
Partial
<
UniNodeJSON
|
UniNodeJSONMinify
>
?
];
export
declare
function
createRpx2Unit
(
unit
:
string
,
unitRatio
:
number
,
unitPrecision
:
number
):
(
val
:
string
)
=>
string
;
...
...
@@ -313,9 +313,9 @@ export declare type RemoveAction = [typeof ACTION_TYPE_REMOVE, number];
* name
*/
export
declare
type
RemoveAttributeAction
=
[
typeof
ACTION_TYPE_REMOVE_ATTRIBUTE
,
number
,
string
|
number
typeof
ACTION_TYPE_REMOVE_ATTRIBUTE
,
number
,
string
|
number
];
/**
...
...
@@ -323,9 +323,9 @@ string | number
* event
*/
export
declare
type
RemoveEventAction
=
[
typeof
ACTION_TYPE_REMOVE_EVENT
,
number
,
string
|
number
typeof
ACTION_TYPE_REMOVE_EVENT
,
number
,
string
|
number
];
export
declare
function
removeLeadingSlash
(
str
:
string
):
string
;
...
...
@@ -349,10 +349,10 @@ export declare const SELECTED_COLOR = "#0062cc";
* value
*/
export
declare
type
SetAttributeAction
=
[
typeof
ACTION_TYPE_SET_ATTRIBUTE
,
number
,
string
|
number
,
unknown
|
number
typeof
ACTION_TYPE_SET_ATTRIBUTE
,
number
,
string
|
number
,
unknown
|
number
];
/**
...
...
@@ -360,9 +360,9 @@ unknown | number
* text
*/
export
declare
type
SetTextAction
=
[
typeof
ACTION_TYPE_SET_TEXT
,
number
,
string
|
number
typeof
ACTION_TYPE_SET_TEXT
,
number
,
string
|
number
];
export
declare
function
stringifyQuery
(
obj
?:
Record
<
string
,
any
>
,
encodeStr
?:
typeof
encodeURIComponent
):
string
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录